mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-12 14:37:17 +03:00
Better private db index
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
-- sponsorTimes
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "sponsorTimes_hashedIP"
|
||||
CREATE INDEX IF NOT EXISTS "privateDB_sponsorTimes_v3"
|
||||
ON public."sponsorTimes" USING btree
|
||||
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
TABLESPACE pg_default;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "privateDB_sponsorTimes_videoID_v2"
|
||||
ON public."sponsorTimes" USING btree
|
||||
("videoID" ASC NULLS LAST, service COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
("hashedIP" COLLATE pg_catalog."default" ASC NULLS LAST, "videoID" ASC NULLS LAST, service COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
;
|
||||
|
||||
-- votes
|
||||
|
||||
Reference in New Issue
Block a user