mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-24 22:47:19 +00:00
Update postgres script
This commit is contained in:
parent
be05e1ae4c
commit
5fda7c0aff
@ -12,6 +12,7 @@ CREATE TABLE public.videos
|
|||||||
likes integer,
|
likes integer,
|
||||||
dislikes integer,
|
dislikes integer,
|
||||||
rating double precision,
|
rating double precision,
|
||||||
|
description text COLLATE pg_catalog."default",
|
||||||
CONSTRAINT videos_pkey PRIMARY KEY (video_id)
|
CONSTRAINT videos_pkey PRIMARY KEY (video_id)
|
||||||
)
|
)
|
||||||
WITH (
|
WITH (
|
||||||
@ -33,4 +34,4 @@ GRANT ALL ON TABLE public.videos TO omar;
|
|||||||
CREATE INDEX videos_video_id_idx
|
CREATE INDEX videos_video_id_idx
|
||||||
ON public.videos USING btree
|
ON public.videos USING btree
|
||||||
(video_id COLLATE pg_catalog."default")
|
(video_id COLLATE pg_catalog."default")
|
||||||
TABLESPACE pg_default;
|
TABLESPACE pg_default;
|
Loading…
Reference in New Issue
Block a user