mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
19 lines
404 B
SQL
19 lines
404 B
SQL
-- Table: public.playlist_videos
|
|
|
|
-- DROP TABLE public.playlist_videos;
|
|
|
|
CREATE TABLE IF NOT EXISTS 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 current_user;
|