mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
29 lines
470 B
SQL
29 lines
470 B
SQL
-- Type: public.privacy
|
|
|
|
-- DROP TYPE public.privacy;
|
|
|
|
CREATE TYPE public.privacy AS ENUM
|
|
(
|
|
'Public',
|
|
'Unlisted',
|
|
'Private'
|
|
);
|
|
|
|
-- 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;
|