Browse Source

Merge branch '3.3.x'

Closes gh-41594
pull/41596/head
Stéphane Nicoll 2 years ago
parent
commit
282b3bc0a0
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/data-initialization.adoc

2
spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/data-initialization.adoc

@ -133,7 +133,7 @@ If you need more control over the configuration, consider registering a `FlywayC @@ -133,7 +133,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 xref:api:java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationStrategy.html[`FlywayMigrationStrategy`].
Flyway supports SQL and Java https://flywaydb.org/documentation/concepts/callbacks[callbacks].
Flyway supports SQL and Java https://documentation.red-gate.com/fd/callback-concept-184127466.html[callbacks].
To use SQL-based callbacks, place the callback scripts in the `classpath:db/migration` directory.
To use Java-based callbacks, create one or more beans that implement `Callback`.
Any such beans are automatically registered with `Flyway`.

Loading…
Cancel
Save