SponsorBlockServer/databases/_upgrade_sponsorTimes_16.sql

16 lines
298 B
MySQL
Raw Normal View History

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;