jmix 2.4.3
hqsqldb
I added an new mandatory field on an entity of type LocalDateTime
the generated migration script fails with
Caused by: liquibase.exception.MigrationFailedException: Migration failed for changeset com/mycompany/liquibase/changelog/2025/02/02-153159-d18c4adb.xml::1::myunit:
Reason: liquibase.exception.DatabaseException: data exception: invalid datetime format [Failed SQL: (-3407) UPDATE PUBLIC.MYENTITY SET CREATED = 'current_timestamp' WHERE CREATED IS NULL]
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:808)
at liquibase.changelog.visitor.UpdateVisitor.executeAcceptedChange(UpdateVisitor.java:119)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:68)
at liquibase.changelog.ChangeLogIterator$2.lambda$run$0(ChangeLogIterator.java:133)