1 Overview
Reprinted: https://blog.csdn.net/gageshan/article/details/105009721
ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:6.3.1:migrate (default-cli) on project community: org.flywaydb.core.api.FlywayException: Validate failed:
[ERROR] Migration checksum mismatch for migration version 8
[ERROR] -> Applied to database : -1139749027
[ERROR] -> Resolved locally : -301935750
Reason: Modifying the content of the old script that has been executed will cause this error.
Solution: Restore the content of the old script, recreate a sql script according to the specification, and execute it.