2021-03-22 00:16:56 +01:00
|
|
|
-- sponsorTimes
|
|
|
|
|
2021-03-24 04:46:46 +01:00
|
|
|
CREATE INDEX IF NOT EXISTS "sponsorTimes_hashedIP"
|
2021-03-22 00:16:56 +01:00
|
|
|
ON public."sponsorTimes" USING btree
|
|
|
|
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST)
|
|
|
|
TABLESPACE pg_default;
|
|
|
|
|
2021-03-27 00:02:32 +01:00
|
|
|
CREATE INDEX IF NOT EXISTS "privateDB_sponsorTimes_videoID"
|
2021-03-22 00:16:56 +01:00
|
|
|
ON public."sponsorTimes" USING btree
|
2021-03-24 04:46:46 +01:00
|
|
|
("videoID" ASC NULLS LAST)
|
|
|
|
;
|
2021-03-22 00:16:56 +01:00
|
|
|
|
|
|
|
-- votes
|
|
|
|
|
|
|
|
CREATE INDEX IF NOT EXISTS "votes_userID"
|
|
|
|
ON public.votes USING btree
|
|
|
|
("UUID" COLLATE pg_catalog."default" ASC NULLS LAST)
|
|
|
|
TABLESPACE pg_default;
|
|
|
|
|
|
|
|
-- categoryVotes
|
|
|
|
|
|
|
|
CREATE INDEX IF NOT EXISTS "categoryVotes_UUID"
|
|
|
|
ON public."categoryVotes" USING btree
|
|
|
|
("UUID" COLLATE pg_catalog."default" ASC NULLS LAST, "userID" COLLATE pg_catalog."default" ASC NULLS LAST, "hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST, category COLLATE pg_catalog."default" ASC NULLS LAST)
|
|
|
|
TABLESPACE pg_default;
|