You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand the code, It seems like it only handle migration from one and only datasource. It would be great if we can do this via auto-configuration.
I still don't have a good idea to design the API, but what comes in my mind now is we can add a configuration like this:
If we declare several beans with @FlywayDataSource the auto-configuration will automatically configure those those datasource for us. I really appreciate for the help. Thanks.
The text was updated successfully, but these errors were encountered:
I recently work in a project that require multiple data source in one Spring boot application. Obviously, I need migration mechanism for both data sources. I've took a look into Flyway auto-configuration here: https://github.com/spring-projects/spring-boot/blob/4d5d90847e7b6c9f3206a9ff0488ffd57d05f205/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
As far as I understand the code, It seems like it only handle migration from one and only datasource. It would be great if we can do this via auto-configuration.
I still don't have a good idea to design the API, but what comes in my mind now is we can add a configuration like this:
If we declare several beans with
@FlywayDataSource
the auto-configuration will automatically configure those those datasource for us. I really appreciate for the help. Thanks.The text was updated successfully, but these errors were encountered: