Remove exists checks from sql migrations to v3

This commit is contained in:
Christoph Kluge 2023-02-21 18:05:29 +01:00
parent 3b7ca17b3c
commit 822c8b570c
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
ALTER TABLE user DROP COLUMN IF EXISTS projects; ALTER TABLE user DROP COLUMN projects;

View File

@ -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 "[]";

View File

@ -1 +1 @@
ALTER TABLE user DROP COLUMN IF EXISTS projects; ALTER TABLE user DROP COLUMN projects;

View File

@ -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;