mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Make migrations (mostly) idempotent.
This commit is contained in:
parent
c7e65ce795
commit
ffa9e5dfab
10 changed files with 33 additions and 33 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue