mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-31 14:11:54 +05:30
Make migrations (mostly) idempotent.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
-- DROP TABLE public.playlist_videos;
|
||||
|
||||
CREATE TABLE playlist_videos
|
||||
CREATE TABLE IF NOT EXISTS playlist_videos
|
||||
(
|
||||
title text,
|
||||
id text,
|
||||
@@ -16,4 +16,4 @@ CREATE TABLE playlist_videos
|
||||
PRIMARY KEY (index,plid)
|
||||
);
|
||||
|
||||
GRANT ALL ON TABLE public.playlist_videos TO kemal;
|
||||
GRANT ALL ON TABLE public.playlist_videos TO current_user;
|
||||
|
Reference in New Issue
Block a user