Update postgres script

This commit is contained in:
Omar Roth 2017-12-30 15:44:09 -06:00
parent be05e1ae4c
commit 5fda7c0aff

View file

@ -12,6 +12,7 @@ CREATE TABLE public.videos
likes integer,
dislikes integer,
rating double precision,
description text COLLATE pg_catalog."default",
CONSTRAINT videos_pkey PRIMARY KEY (video_id)
)
WITH (
@ -33,4 +34,4 @@ GRANT ALL ON TABLE public.videos TO omar;
CREATE INDEX videos_video_id_idx
ON public.videos USING btree
(video_id COLLATE pg_catalog."default")
TABLESPACE pg_default;
TABLESPACE pg_default;