invidious-mod-JP/config/sql/playlist_videos.sql

20 lines
404 B
MySQL
Raw Normal View History

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