Add more indexes

This commit is contained in:
Ajay Ramachandran
2021-03-23 23:46:46 -04:00
parent 11b4f642a6
commit 27c2562a7f
2 changed files with 9 additions and 9 deletions

View File

@@ -1,15 +1,15 @@
-- sponsorTimes
CREATE INDEX IF NOT EXISTS "idx_16928_sponsorTimes_hashedIP"
ON public."sponsorTimes" USING btree
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST)
TABLESPACE pg_default;
CREATE INDEX IF NOT EXISTS "sponsorTimes_hashedIP"
ON public."sponsorTimes" USING btree
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST)
TABLESPACE pg_default;
CREATE INDEX "privateDB_sponsorTimes_videoID"
ON public."sponsorTimes" USING btree
("videoID" ASC NULLS LAST)
;
-- votes
CREATE INDEX IF NOT EXISTS "votes_userID"