Skip to content

Flyway and Liquibase auto configurations require DataSource bean to be declared #16849

Closed
@L00kian

Description

@L00kian

Hello,

LiquibaseAutoConfiguration and FlywayAutoConfiguration both require DataSource bean to be declared. However both configurations allow to explicitly define datasource properties which would create one anyway.

Context: I've been playing around with r2dbc and tried to assemble an application with it + flyway. was not able to apply migrations as there is no need for datasource when using r2dbc (also don't really fancy the idea that i need one living in context just for migrations spring-projects/spring-data-r2dbc#40 which is not directly related but explains why)

Regards,
Ilya

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions