mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-03-27 00:07:38 +03:00
Added schema upgrade system and started on new vote type
This commit is contained in:
@@ -18,6 +18,11 @@ CREATE TABLE IF NOT EXISTS "userNames" (
|
||||
"userID" TEXT NOT NULL,
|
||||
"userName" TEXT NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "version" (
|
||||
"code" INTEGER NOT NULL default '0'
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS sponsorTimes_videoID on sponsorTimes(videoID);
|
||||
CREATE INDEX IF NOT EXISTS sponsorTimes_UUID on sponsorTimes(UUID);
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user