Add endpoint for casual submission count

This commit is contained in:
Ajay
2025-02-12 03:52:03 -05:00
parent fb3abb3216
commit d608125b41
2 changed files with 18 additions and 2 deletions

View File

@@ -30,4 +30,9 @@ CREATE INDEX IF NOT EXISTS "ratings_videoID"
CREATE INDEX IF NOT EXISTS "casualVotes_videoID"
ON public."casualVotes" USING btree
("videoID" COLLATE pg_catalog."default" ASC NULLS LAST, "service" COLLATE pg_catalog."default" ASC NULLS LAST, "userID" COLLATE pg_catalog."default" ASC NULLS LAST)
TABLESPACE pg_default;
CREATE INDEX IF NOT EXISTS "casualVotes_userID"
ON public."casualVotes" USING btree
("userID" COLLATE pg_catalog."default" ASC NULLS LAST)
TABLESPACE pg_default;