Changed from version table to a key-value config table.

This commit is contained in:
Ajay Ramachandran
2020-05-03 12:01:49 -04:00
parent e303405ee0
commit 8eecffd3d5
3 changed files with 11 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ INSERT INTO sqlb_temp_table_1 SELECT videoID,startTime,endTime,votes,"1",UUID,us
DROP TABLE sponsorTimes;
ALTER TABLE sqlb_temp_table_1 RENAME TO "sponsorTimes";
/* Increase version number */
INSERT INTO version VALUES(1);
/* Add version to config */
INSERT INTO config (key, value) VALUES("version", 1);
COMMIT;