mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-17 13:08:49 +03:00
Add endpoints for rating endpoint (dislikes)
https://github.com/ajayyy/SponsorBlock/issues/1039
This commit is contained in:
14
databases/_upgrade_private_4.sql
Normal file
14
databases/_upgrade_private_4.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "ratings" (
|
||||
"videoID" TEXT NOT NULL,
|
||||
"service" TEXT NOT NULL default 'YouTube',
|
||||
"type" INTEGER NOT NULL,
|
||||
"userID" TEXT NOT NULL,
|
||||
"timeSubmitted" INTEGER NOT NULL,
|
||||
"hashedIP" TEXT NOT NULL
|
||||
);
|
||||
|
||||
UPDATE "config" SET value = 4 WHERE key = 'version';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user