invidious/config/sql/playlist_videos.sql

20 lines
404 B
MySQL
Raw Normal View History

2019-08-06 01:49:13 +02:00
-- Table: public.playlist_videos
-- DROP TABLE public.playlist_videos;
2021-01-17 02:44:31 +01:00
CREATE TABLE IF NOT EXISTS playlist_videos
2019-08-06 01:49:13 +02: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-17 02:44:31 +01:00
GRANT ALL ON TABLE public.playlist_videos TO current_user;