mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
Remove exists checks from sql migrations to v3
This commit is contained in:
parent
3b7ca17b3c
commit
822c8b570c
@ -1 +1 @@
|
||||
ALTER TABLE user DROP COLUMN IF EXISTS projects;
|
||||
ALTER TABLE user DROP COLUMN projects;
|
@ -1 +1 @@
|
||||
ALTER TABLE user ADD COLUMN IF NOT EXISTS projects varchar(255) NOT NULL DEFAULT "[]";
|
||||
ALTER TABLE user ADD COLUMN projects varchar(255) NOT NULL DEFAULT "[]";
|
@ -1 +1 @@
|
||||
ALTER TABLE user DROP COLUMN IF EXISTS projects;
|
||||
ALTER TABLE user DROP COLUMN projects;
|
@ -1 +1 @@
|
||||
ALTER TABLE user ADD COLUMN IF NOT EXISTS projects varchar(255) NOT NULL DEFAULT "[]";
|
||||
ALTER TABLE user ADD COLUMN projects varchar(255) NOT NULL;
|
Loading…
Reference in New Issue
Block a user