mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Update postgres script
This commit is contained in:
parent
be05e1ae4c
commit
5fda7c0aff
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue