SponsorBlockServer/databases/_upgrade_sponsorTimes_16.sql
2021-06-23 23:58:33 -04:00

15 lines
298 B
SQL

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;