mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-24 22:43:37 +00:00
21 lines
486 B
MySQL
21 lines
486 B
MySQL
|
-- 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;
|