Skip to content

Commit fb3abb3

Browse files
committed
Fix index for casual votes
1 parent ccde64e commit fb3abb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databases/_sponsorTimes_indexes.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ CREATE INDEX IF NOT EXISTS "casualVotes_timeSubmitted"
184184

185185
CREATE INDEX IF NOT EXISTS "casualVotes_userID_timeSubmitted"
186186
ON public."casualVotes" USING btree
187-
("videoID" COLLATE pg_catalog."default" ASC NULLS LAST, "service" COLLATE pg_catalog."default" ASC NULLS LAST, "userID" COLLATE pg_catalog."default" DESC NULLS LAST, "timeSubmitted" DESC NULLS LAST)
187+
("videoID" COLLATE pg_catalog."default" ASC NULLS LAST, "service" COLLATE pg_catalog."default" ASC NULLS LAST, "timeSubmitted" DESC NULLS LAST)
188188
TABLESPACE pg_default;
189189

190190
CREATE INDEX IF NOT EXISTS "casualVotes_videoID"

0 commit comments

Comments
 (0)