We've deprecated some method call following the upgrade to Flyway (#47562). A future release of Flyway will provide a public API that we can use instead of the deprecated methods, see https://github.com/flyway/flyway/issues/4160