From b469c743e10ec8154ca8ddbab131f31c490f304d Mon Sep 17 00:00:00 2001 From: "LamTrinh.Dev" Date: Tue, 23 Jul 2024 19:30:40 +0700 Subject: [PATCH] Fix link to Flyway reference documentation See gh-41591 --- .../src/docs/asciidoc/howto/data-initialization.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/data-initialization.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/data-initialization.adoc index 02cf83f12307..7eb1a35a6129 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/data-initialization.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/data-initialization.adoc @@ -128,7 +128,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/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`.