We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb3d641 commit 0f2c25cCopy full SHA for 0f2c25c
spring-boot-docs/src/main/asciidoc/howto.adoc
@@ -1720,6 +1720,9 @@ addition Spring Boot provides a small set of properties in
1720
{sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[`FlywayProperties`]
1721
that can be used to disable the migrations, or switch off the location checking.
1722
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
+
1726
By default Flyway will autowire the (`@Primary`) `DataSource` in your context and
1727
use that for migrations. If you like to use a different `DataSource` you can create
1728
one and mark its `@Bean` as `@FlywayDataSource` - if you do that remember to create
0 commit comments