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

@@ -25,8 +25,9 @@ CREATE TABLE IF NOT EXISTS "categoryVotes" (
"votes" INTEGER NOT NULL default '0'
);
CREATE TABLE IF NOT EXISTS "version" (
"code" INTEGER NOT NULL default '0'
CREATE TABLE IF NOT EXISTS "config" (
"key" TEXT NOT NULL,
"value" TEXT NOT NULL
);
CREATE INDEX IF NOT EXISTS sponsorTimes_videoID on sponsorTimes(videoID);