Closed renbinden closed 3 years ago
baselineOnMigrate doesn't seem to work either, as each plugin after the first sets the database as its baseline but does not apply migrations
baselineOnMigrate in conjunction with baselineVersion 0 does seem to work as the first migration gets applied after the baseline.
validateOnMigrate should probably be disabled as well as the schema may change outside of the migrations of any one plugin.
If multiple plugins attempt to use the same database, flyway will complain that there are already things existing in the database. We need to call baselineOnMigrate(true) when creating flyway instances so that it is chill with what's already there.