Skip to content

Invidious is an alternative front-end to YouTube

Add ucid index for channel_videos

Omar Rothb13b91e2bf6e
diff --git a/config/sql/channel_videos.sql b/config/sql/channel_videos.sql
index 98d4d7de..4e48c70b 100644
--- a/config/sql/channel_videos.sql
+++ b/config/sql/channel_videos.sql
@@ -26,4 +26,13 @@ GRANT ALL ON TABLE public.channel_videos TO kemal;
CREATE INDEX channel_videos_published_idx
ON public.channel_videos USING btree
(published)
+ TABLESPACE pg_default;
+
+-- Index: channel_videos_ucid_idx
+
+-- DROP INDEX public.channel_videos_ucid_idx;
+
+CREATE INDEX channel_videos_ucid_idx
+ ON public.channel_videos USING btree
+ (ucid COLLATE pg_catalog."default")
TABLESPACE pg_default;
\ No newline at end of file