Repeatable migrations - error in case of checksum mismatch #1428
What version of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Maven plugin 4.0.3
What database are you using (type & version)?
What operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
What did you expect to see?
The file should have been reapplied without any error
What did you see instead?
FlywayException: Validate failed: Migration checksum mismatch for migration R__testdata.sql
In schema_version table there are 2 migrations for that file written. One is success, the other one not.
The text was updated successfully, but these errors were encountered:
You have to do a 'repair' or manual cleanup of the migration table before you can migrate sucessfully.
Summary: Perhaps not a bug - but flyway should not complain about modifications of failed repeatable migrations.