fixed db update, started no segments

This commit is contained in:
Joe Dowd
2020-08-22 02:14:19 +01:00
parent c1d4ba3c80
commit 44ea0c418a
10 changed files with 247 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
BEGIN TRANSACTION;
/* Add incorrectVotes field */
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;