Skip to content

Commit dc49c64

Browse files
committed
Remove FlywayCallback reference in documentation
Closes gh-43233
1 parent e645f4e commit dc49c64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ To use SQL-based callbacks, place the callback scripts in the `classpath:db/migr
142142
To use Java-based callbacks, create one or more beans that implement `Callback`.
143143
Any such beans are automatically registered with `Flyway`.
144144
They can be ordered by using `@Order` or by implementing `Ordered`.
145-
Beans that implement the deprecated `FlywayCallback` interface can also be detected, however they cannot be used alongside `Callback` beans.
146145

147146
By default, Flyway autowires the (`@Primary`) `DataSource` in your context and uses that for migrations.
148147
If you like to use a different `DataSource`, you can create one and mark its `@Bean` as `@FlywayDataSource`.

0 commit comments

Comments
 (0)