summaryrefslogtreecommitdiffstats
path: root/config/sql/playlist_videos.sql
blob: b2b8d5c44caa65d8ad0052b48921c23620b6661c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- Table: public.playlist_videos

-- DROP TABLE public.playlist_videos;

CREATE TABLE playlist_videos
(
    title text,
    id text,
    author text,
    ucid text,
    length_seconds integer,
    published timestamptz,
    plid text references playlists(id),
    index int8,
    live_now boolean,
    PRIMARY KEY (index,plid)
);

GRANT ALL ON TABLE public.playlist_videos TO kemal;