mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-23 16:50:17 +05:30
21 lines
486 B
SQL
21 lines
486 B
SQL
-- Table: public.compilation_videos
|
|
|
|
-- DROP TABLE public.compilation_videos;
|
|
|
|
CREATE TABLE IF NOT EXISTS public.compilation_videos
|
|
(
|
|
title text,
|
|
id text,
|
|
author text,
|
|
ucid text,
|
|
length_seconds integer,
|
|
starting_timestamp_seconds integer,
|
|
ending_timestamp_seconds integer,
|
|
published timestamptz,
|
|
compid text references compilations(id),
|
|
index int8,
|
|
PRIMARY KEY (index,compid)
|
|
);
|
|
|
|
GRANT ALL ON TABLE public.compilation_videos TO current_user;
|