mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-04 23:59:00 +03:00
Save more info in unlisted video endpoint
This commit is contained in:
15
databases/_upgrade_sponsorTimes_16.sql
Normal file
15
databases/_upgrade_sponsorTimes_16.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
DROP TABLE "unlistedVideos";
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "unlistedVideos" (
|
||||
"videoID" TEXT NOT NULL,
|
||||
"year" TEXT NOT NULL,
|
||||
"views" TEXT NOT NULL,
|
||||
"channelID" TEXT NOT NULL,
|
||||
"timeSubmitted" INTEGER NOT NULL
|
||||
);
|
||||
|
||||
UPDATE "config" SET value = 16 WHERE key = 'version';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user