fix: use common sql syntax for dropping null constraint on birthday field
Deploy Miniplan / build (push) Successful in 2m58s
Deploy Miniplan / build (push) Successful in 2m58s
This commit is contained in:
@@ -30,7 +30,7 @@ fun Application.configureDatabases() {
|
|||||||
SchemaUtils.create(Gottesdienste)
|
SchemaUtils.create(Gottesdienste)
|
||||||
SchemaUtils.create(Marks)
|
SchemaUtils.create(Marks)
|
||||||
// TODO Add proper versioning and migration for database
|
// TODO Add proper versioning and migration for database
|
||||||
exec("ALTER TABLE MINISTRANTEN ALTER COLUMN birthday BIGINT NULL;")
|
exec("ALTER TABLE MINISTRANTEN ALTER COLUMN birthday DROP NOT NULL;")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user