mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
13 lines
303 B
MySQL
13 lines
303 B
MySQL
|
BEGIN TRANSACTION;
|
||
|
|
||
|
CREATE TABLE IF NOT EXISTS "ratings" (
|
||
|
"videoID" TEXT NOT NULL,
|
||
|
"service" TEXT NOT NULL default 'YouTube',
|
||
|
"type" INTEGER NOT NULL,
|
||
|
"count" INTEGER NOT NULL,
|
||
|
"hashedVideoID" TEXT NOT NULL
|
||
|
);
|
||
|
|
||
|
UPDATE "config" SET value = 28 WHERE key = 'version';
|
||
|
|
||
|
COMMIT;
|