New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide spring-boot-starter-liquibase-starter starter module (feature request) #662
Comments
What we can do is create a Liquibase auto configuration creating a SpringLiquibase bean which automatically runs migrations from e.g. classpath:/migrations/ I can work this further out via pull request if you are interested? |
What I did for now was adding the SpringLiquibase bean to my Application.java class like:
Note that also the This way during startup the database migrations (changelog) are executed automatically. |
@dsyer I have this almost implemented. I'm only stuck at the unit tests related to the LiquibaseServiceLocatorApplicationListener which sets the Spring Boot specific SpringPackageScanClassResolver.
See the inline code comments. Basically I'm unable to execute the LiquibaseServiceLocatorApplicationListener in the test case. Any idea? |
The |
Duplicates #687 |
It would be nice to to have auto-configured support for running liquibase migrations.
The text was updated successfully, but these errors were encountered: