Add support for customizing Flyway's configuration

Closes gh-14786
This commit is contained in:
Stephane Nicoll
2018-10-11 17:33:13 +02:00
parent e789bc0bb7
commit d37df3d718
4 changed files with 81 additions and 1 deletions

View File

@@ -2329,7 +2329,9 @@ of supported databases is available in
{sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[`FlywayProperties`]
provides most of Flyway's settings and a small set of additional properties that can be
used to disable the migrations or switch off the location checking.
used to disable the migrations or switch off the location checking. If you need more
control over the configuration, consider registering a `FlywayConfigurationCustomizer`
bean.
Spring Boot calls `Flyway.migrate()` to perform the database migration. If you would like
more control, provide a `@Bean` that implements