mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Remove Flyway references from DependsOn BFPPs for Liquibase
See gh-27348
This commit is contained in:
parent
7a23a12ce0
commit
198e40c72e
@ -138,8 +138,7 @@ public class BatchAutoConfiguration {
|
||||
@Bean
|
||||
@ConditionalOnClass(name = "liquibase.integration.spring.SpringLiquibase")
|
||||
JobRepositoryDependsOnBeanFactoryPostProcessor liquibaseJobRepositoryDependsOnBeanFactoryPostProcessor() {
|
||||
return new JobRepositoryDependsOnBeanFactoryPostProcessor(FlywayMigrationInitializer.class,
|
||||
SpringLiquibase.class);
|
||||
return new JobRepositoryDependsOnBeanFactoryPostProcessor(SpringLiquibase.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -104,8 +104,7 @@ class JdbcSessionConfiguration {
|
||||
@Bean
|
||||
@ConditionalOnClass(name = "liquibase.integration.spring.SpringLiquibase")
|
||||
JdbcIndexedSessionRepositoryDependsOnBeanFactoryPostProcessor liquibaseJdbcIndexedSessionRepositoryDependsOnBeanFactoryPostProcessor() {
|
||||
return new JdbcIndexedSessionRepositoryDependsOnBeanFactoryPostProcessor(FlywayMigrationInitializer.class,
|
||||
SpringLiquibase.class);
|
||||
return new JdbcIndexedSessionRepositoryDependsOnBeanFactoryPostProcessor(SpringLiquibase.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user