Remove Flyway references from DependsOn BFPPs for Liquibase

See gh-27348
pull/27537/head
izeye 3 years ago committed by Andy Wilkinson
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…
Cancel
Save