Here is my workflow:
Setup tables, constraints etc. in V1__CreateSchema.sql (checksum =
c3a82bcf43b3c78a5ca4ebd25ca06005)
Migrate flyway -> a database is created.
Then I understand that you need to update the schema:
Update sql statements in V1__CreateSchema.sql (checksum =
7e1aeb51d4e91b504cd920ec7af17092)
Launching a flyway migration β a span ignores the fact that a previously modified migration signature has changed.
[INFO] --- flyway-maven-plugin: 2.3: migrate (default-cli) @ zeus ---
[INFO] Current version of schema `mydb`: 1
[INFO] Schema `mydb` is up to date. No migration necessary.
Is this a supported workflow? I would expect the flyway not to be hidden, stating that the fork was made on the last migration path.
source
share