mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-20 04:54:00 +02:00
Add more indexes
This commit is contained in:
parent
11b4f642a6
commit
27c2562a7f
2 changed files with 9 additions and 9 deletions
|
@ -1,15 +1,15 @@
|
||||||
-- sponsorTimes
|
-- 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"
|
CREATE INDEX IF NOT EXISTS "sponsorTimes_hashedIP"
|
||||||
ON public."sponsorTimes" USING btree
|
ON public."sponsorTimes" USING btree
|
||||||
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST)
|
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||||
TABLESPACE pg_default;
|
TABLESPACE pg_default;
|
||||||
|
|
||||||
|
CREATE INDEX "privateDB_sponsorTimes_videoID"
|
||||||
|
ON public."sponsorTimes" USING btree
|
||||||
|
("videoID" ASC NULLS LAST)
|
||||||
|
;
|
||||||
|
|
||||||
-- votes
|
-- votes
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS "votes_userID"
|
CREATE INDEX IF NOT EXISTS "votes_userID"
|
||||||
|
|
|
@ -15,9 +15,9 @@ CREATE INDEX IF NOT EXISTS "sponsorTimes_UUID"
|
||||||
("UUID" COLLATE pg_catalog."default" ASC NULLS LAST)
|
("UUID" COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||||
TABLESPACE pg_default;
|
TABLESPACE pg_default;
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS "sponsorTimes_hashedVideoID"
|
CREATE INDEX "sponsorTimes_hashedVideoID_gin"
|
||||||
ON public."sponsorTimes" USING btree
|
ON public."sponsorTimes" USING gin
|
||||||
("hashedVideoID" COLLATE pg_catalog."default" ASC NULLS LAST, category COLLATE pg_catalog."default" ASC NULLS LAST, "startTime" ASC NULLS LAST)
|
("hashedVideoID" COLLATE pg_catalog."default" gin_trgm_ops, category COLLATE pg_catalog."default" gin_trgm_ops)
|
||||||
TABLESPACE pg_default;
|
TABLESPACE pg_default;
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS "sponsorTimes_videoID"
|
CREATE INDEX IF NOT EXISTS "sponsorTimes_videoID"
|
||||||
|
|
Loading…
Reference in a new issue