I just wrote a little tool which can be used to calculate checksums generated by Flyway for schema migration files.

The source code and instructions on how to use the flyway-checksum-tool can be found here. I used the tool to calculate a new checksum for an old schema migration file which had to be changed in retrospect.

There is also the repair command of the Flyway CLI. Maybe this would also have done the trick…

A note about Netcup (advertisement)

Netcup is a German hosting company. Netcup offers inexpensive, yet powerfull web hosting packages, KVM-based root servers or dedicated servers for example. Using a coupon code from my Netcup coupon code web app you can even save more money (6$ on your first purchase, 30% off any KVM-based root server, ...).