mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-20 20:08:52 -04:00
Make migrations (mostly) idempotent.
This commit is contained in:
parent
c7e65ce795
commit
ffa9e5dfab
10 changed files with 33 additions and 33 deletions
|
@ -13,7 +13,7 @@ CREATE TYPE public.privacy AS ENUM
|
|||
|
||||
-- DROP TABLE public.playlists;
|
||||
|
||||
CREATE TABLE public.playlists
|
||||
CREATE TABLE IF NOT EXISTS public.playlists
|
||||
(
|
||||
title text,
|
||||
id text primary key,
|
||||
|
@ -26,4 +26,4 @@ CREATE TABLE public.playlists
|
|||
index int8[]
|
||||
);
|
||||
|
||||
GRANT ALL ON public.playlists TO kemal;
|
||||
GRANT ALL ON public.playlists TO current_user;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue