Added sql schemas

This commit is contained in:
Ajay Ramachandran
2019-08-21 17:05:08 -04:00
parent 69258587bc
commit a6b166588f
3 changed files with 36 additions and 1 deletions

13
databases/_private.db.sql Normal file
View File

@@ -0,0 +1,13 @@
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS "votes" (
"UUID" TEXT NOT NULL,
"userID" INTEGER NOT NULL,
"hashedIP" INTEGER NOT NULL,
"type" INTEGER NOT NULL
);
CREATE TABLE IF NOT EXISTS "sponsorTimes" (
"videoID" TEXT NOT NULL,
"hashedIP" TEXT NOT NULL,
"timeSubmitted" INTEGER NOT NULL
);
COMMIT;