Add support for custom playlists

This commit is contained in:
Omar Roth 2019-08-05 18:49:13 -05:00
parent 1e34a61911
commit be055d9dcb
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
40 changed files with 1802 additions and 245 deletions

18
config/sql/playlists.sql Normal file
View file

@ -0,0 +1,18 @@
-- Table: public.playlists
-- DROP TABLE public.playlists;
CREATE TABLE public.playlists
(
title text,
id text primary key,
author text,
description text,
video_count integer,
created timestamptz,
updated timestamptz,
privacy privacy,
index int8[]
);
GRANT ALL ON public.playlists TO kemal;