Support private db with postgres

This commit is contained in:
Ajay Ramachandran
2021-03-06 19:29:03 -05:00
parent 54e69b266d
commit 3fe7501802
4 changed files with 19 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ CREATE TABLE IF NOT EXISTS "config" (
"value" TEXT NOT NULL
);
CREATE INDEX IF NOT EXISTS sponsorTimes_hashedIP on sponsorTimes(hashedIP);
CREATE INDEX IF NOT EXISTS votes_userID on votes(UUID);
CREATE INDEX IF NOT EXISTS "sponsorTimes_hashedIP" on "sponsorTimes"("hashedIP");
CREATE INDEX IF NOT EXISTS "votes_userID" on "votes"("UUID");
COMMIT;