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

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