diff --git a/internal/repository/migrations/mysql/03_add-userprojects.down.sql b/internal/repository/migrations/mysql/03_add-userprojects.down.sql index e42c7d1..a6d5b37 100644 --- a/internal/repository/migrations/mysql/03_add-userprojects.down.sql +++ b/internal/repository/migrations/mysql/03_add-userprojects.down.sql @@ -1 +1 @@ -ALTER TABLE user DROP COLUMN IF EXISTS projects; \ No newline at end of file +ALTER TABLE user DROP COLUMN projects; \ No newline at end of file diff --git a/internal/repository/migrations/mysql/03_add-userprojects.up.sql b/internal/repository/migrations/mysql/03_add-userprojects.up.sql index 4e9c635..003cafd 100644 --- a/internal/repository/migrations/mysql/03_add-userprojects.up.sql +++ b/internal/repository/migrations/mysql/03_add-userprojects.up.sql @@ -1 +1 @@ -ALTER TABLE user ADD COLUMN IF NOT EXISTS projects varchar(255) NOT NULL DEFAULT "[]"; \ No newline at end of file +ALTER TABLE user ADD COLUMN projects varchar(255) NOT NULL DEFAULT "[]"; \ No newline at end of file diff --git a/internal/repository/migrations/sqlite3/03_add-userprojects.down.sql b/internal/repository/migrations/sqlite3/03_add-userprojects.down.sql index e42c7d1..a6d5b37 100644 --- a/internal/repository/migrations/sqlite3/03_add-userprojects.down.sql +++ b/internal/repository/migrations/sqlite3/03_add-userprojects.down.sql @@ -1 +1 @@ -ALTER TABLE user DROP COLUMN IF EXISTS projects; \ No newline at end of file +ALTER TABLE user DROP COLUMN projects; \ No newline at end of file diff --git a/internal/repository/migrations/sqlite3/03_add-userprojects.up.sql b/internal/repository/migrations/sqlite3/03_add-userprojects.up.sql index 4e9c635..759e158 100644 --- a/internal/repository/migrations/sqlite3/03_add-userprojects.up.sql +++ b/internal/repository/migrations/sqlite3/03_add-userprojects.up.sql @@ -1 +1 @@ -ALTER TABLE user ADD COLUMN IF NOT EXISTS projects varchar(255) NOT NULL DEFAULT "[]"; \ No newline at end of file +ALTER TABLE user ADD COLUMN projects varchar(255) NOT NULL; \ No newline at end of file