File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1720,6 +1720,9 @@ addition Spring Boot provides a small set of properties in
17201720{sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[`FlywayProperties`]
17211721that can be used to disable the migrations, or switch off the location checking.
17221722
1723+ TIP: If you want to make use of http://flywaydb.org/documentation/callbacks.html[Flyway
1724+ callbacks], those scripts should also live in the `classpath:db/migration` folder.
1725+
17231726By default Flyway will autowire the (`@Primary`) `DataSource` in your context and
17241727use that for migrations. If you like to use a different `DataSource` you can create
17251728one and mark its `@Bean` as `@FlywayDataSource` - if you do that remember to create
You can’t perform that action at this time.
0 commit comments