mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
48d88614fb
Warning: Migration is not automatic
29 lines
576 B
SQL
29 lines
576 B
SQL
BEGIN TRANSACTION;
|
|
|
|
CREATE TABLE IF NOT EXISTS "votes" (
|
|
"UUID" TEXT NOT NULL,
|
|
"userID" TEXT NOT NULL,
|
|
"hashedIP" TEXT NOT NULL,
|
|
"type" INTEGER NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS "categoryVotes" (
|
|
"UUID" TEXT NOT NULL,
|
|
"userID" TEXT NOT NULL,
|
|
"hashedIP" TEXT NOT NULL,
|
|
"category" TEXT NOT NULL,
|
|
"timeSubmitted" INTEGER NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS "sponsorTimes" (
|
|
"videoID" TEXT NOT NULL,
|
|
"hashedIP" TEXT NOT NULL,
|
|
"timeSubmitted" INTEGER NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS "config" (
|
|
"key" TEXT NOT NULL,
|
|
"value" TEXT NOT NULL
|
|
);
|
|
|
|
COMMIT;
|