SponsorBlockServer/databases/_upgrade_sponsorTimes_2.sql
2020-08-22 03:21:10 +01:00

13 lines
No EOL
248 B
SQL

BEGIN TRANSACTION;
/* Add new table: noSegments */
CREATE TABLE "noSegments" (
"videoID" TEXT NOT NULL,
"userID" TEXT NOT NULL,
"category" TEXT NOT NULL
);
/* Add version to config */
UPDATE config SET value = 2 WHERE key = 'version';
COMMIT;