mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #24119 from dreis2211
* gh-24119: Fix link to Flyway callback docs Closes gh-24119
This commit is contained in:
commit
0c938ffa73
@ -2093,7 +2093,7 @@ If you need more control over the configuration, consider registering a `FlywayC
|
||||
Spring Boot calls `Flyway.migrate()` to perform the database migration.
|
||||
If you would like more control, provide a `@Bean` that implements {spring-boot-autoconfigure-module-code}/flyway/FlywayMigrationStrategy.java[`FlywayMigrationStrategy`].
|
||||
|
||||
Flyway supports SQL and Java https://flywaydb.org/documentation/callbacks.html[callbacks].
|
||||
Flyway supports SQL and Java https://flywaydb.org/documentation/concepts/callbacks[callbacks].
|
||||
To use SQL-based callbacks, place the callback scripts in the `classpath:db/migration` folder.
|
||||
To use Java-based callbacks, create one or more beans that implement `Callback`.
|
||||
Any such beans are automatically registered with `Flyway`.
|
||||
|
Loading…
Reference in New Issue
Block a user