invidious/config/sql/playlist_videos.sql

20 lines
404 B
MySQL
Raw Normal View History

2019-08-05 19:49:13 -04:00
-- Table: public.playlist_videos
-- DROP TABLE public.playlist_videos;
2021-01-16 20:44:31 -05:00
CREATE TABLE IF NOT EXISTS playlist_videos
2019-08-05 19:49:13 -04:00
(
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)
);
2021-01-16 20:44:31 -05:00
GRANT ALL ON TABLE public.playlist_videos TO current_user;