From 51d00b16c3a0852d41dd1cff02ba95f974042ab7 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 21 Sep 2018 08:52:27 -0500 Subject: [PATCH] Use hash instead of btree for channel_videos_ucid_idx --- config/sql/channel_videos.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sql/channel_videos.sql b/config/sql/channel_videos.sql index 4e48c70b9..9e84092cd 100644 --- a/config/sql/channel_videos.sql +++ b/config/sql/channel_videos.sql @@ -33,6 +33,6 @@ CREATE INDEX channel_videos_published_idx -- DROP INDEX public.channel_videos_ucid_idx; CREATE INDEX channel_videos_ucid_idx - ON public.channel_videos USING btree + ON public.channel_videos USING hash (ucid COLLATE pg_catalog."default") TABLESPACE pg_default; \ No newline at end of file