forked from midou/invidious
Make migrations (mostly) idempotent.
This commit is contained in:
1 parent
c7e65ce795
commit
ffa9e5dfab
10 files changed
+33
-33
No files matched your search
@@ -2,11 +2,11 @@
|
||||
|
||||
-- DROP TABLE public.annotations;
|
||||
|
||||
CREATE TABLE public.annotations
|
||||
CREATE TABLE IF NOT EXISTS public.annotations
|
||||
(
|
||||
id text NOT NULL,
|
||||
annotations xml,
|
||||
CONSTRAINT annotations_id_key UNIQUE (id)
|
||||
);
|
||||
|
||||
GRANT ALL ON TABLE public.annotations TO kemal;
|
||||
GRANT ALL ON TABLE public.annotations TO current_user;
|
||||
Reference in new issue
Block a user