mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-19 05:48:06 +00:00
Add backend Compilation symbols
This commit is contained in:
@@ -631,7 +631,7 @@ default_user_preferences:
|
||||
##
|
||||
## Default: ["Popular", "Trending", "Subscriptions", "Playlists", "Compilations"] (show all feeds)
|
||||
##
|
||||
feed_menu: ["Popular", "Trending", "Subscriptions", "Playlists", "Compilations"]
|
||||
#feed_menu: ["Popular", "Trending", "Subscriptions", "Playlists", "Compilations"]
|
||||
|
||||
##
|
||||
## Default feed to display on the home page.
|
||||
|
29
config/sql/compilations.sql
Normal file
29
config/sql/compilations.sql
Normal file
@@ -0,0 +1,29 @@
|
||||
-- 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 IF NOT EXISTS 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 current_user;
|
Reference in New Issue
Block a user