Use hash instead of btree for channel_videos_ucid_idx

This commit is contained in:
Omar Roth 2018-09-21 08:52:27 -05:00
parent bead12d6d0
commit 51d00b16c3

View File

@ -33,6 +33,6 @@ CREATE INDEX channel_videos_published_idx
-- DROP INDEX public.channel_videos_ucid_idx; -- DROP INDEX public.channel_videos_ucid_idx;
CREATE INDEX 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") (ucid COLLATE pg_catalog."default")
TABLESPACE pg_default; TABLESPACE pg_default;