Flyway 3.0 changed the default of validateOnMigrate to true.
This is however a good thing, as in the spirit of fail fast, errors are discovered sooner.
In your case some scripts did change since they were applied, which is what Flyway is reporting.
You have two options:
- suppress the error by setting validateOnMigrate to false (2.3 default behavior)
- invoke
Flyway.repair()
to reallign the checksums
Reference
Flyway Repair