Spring Boot 2.4.x is currently using Flyway 7.1.1 (https://github.com/spring-projects/spring-boot/blob/2.4.x/spring-boot-project/spring-boot-dependencies/build.gradle#L310). There is an annoying bug in this version: in some cases, the reason why the db migration failed does not appear in the log.

It was fixed in Flyway 7.2.0 + 7.2.1. (https://flywaydb.org/documentation/learnmore/releaseNotes#7.2.1)

SpringBoot Upgrade to Flyway 7.2.x in Spring Boot 2.4.x

I don't know the policy of SB concerning the updates of these dependencies. Can Flyway be updated in the 2.4 branch?

Comment From: snicoll

@placaze our third party upgrade policy is available on the Wiki. We won't upgrade to a new feature release of Flyway in a maintenance release of Spring Boot. You can override the version in your build using the flyway.version as described in the reference documentation for Maven and Gradle.