Skip to content

Commit

Permalink
Remove FlywayCallback reference in documentation
Browse files Browse the repository at this point in the history
Closes gh-43233
  • Loading branch information
philwebb committed Nov 20, 2024
1 parent e645f4e commit dc49c64
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ To use SQL-based callbacks, place the callback scripts in the `classpath:db/migr
To use Java-based callbacks, create one or more beans that implement `Callback`.
Any such beans are automatically registered with `Flyway`.
They can be ordered by using `@Order` or by implementing `Ordered`.
Beans that implement the deprecated `FlywayCallback` interface can also be detected, however they cannot be used alongside `Callback` beans.

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

0 comments on commit dc49c64

Please sign in to comment.