mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
liquibase upgrade, removing dirty fix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -219,7 +219,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.liquibase</groupId>
|
<groupId>org.liquibase</groupId>
|
||||||
<artifactId>liquibase-core</artifactId>
|
<artifactId>liquibase-core</artifactId>
|
||||||
<version>3.0.2</version>
|
<version>3.0.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
package liquibase.integration.cdi;
|
|
||||||
|
|
||||||
import java.sql.SQLException;
|
|
||||||
|
|
||||||
import javax.enterprise.event.Observes;
|
|
||||||
import javax.enterprise.inject.Produces;
|
|
||||||
import javax.enterprise.inject.spi.AfterBeanDiscovery;
|
|
||||||
import javax.enterprise.inject.spi.AfterDeploymentValidation;
|
|
||||||
import javax.enterprise.inject.spi.BeanManager;
|
|
||||||
import javax.enterprise.inject.spi.Extension;
|
|
||||||
import javax.sql.DataSource;
|
|
||||||
|
|
||||||
import liquibase.integration.cdi.annotations.LiquibaseType;
|
|
||||||
import liquibase.resource.ResourceAccessor;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* temporary fix until https://liquibase.jira.com/browse/CORE-1325 is fixed
|
|
||||||
*/
|
|
||||||
public class CDIBootstrap implements Extension {
|
|
||||||
|
|
||||||
void afterBeanDiscovery(@Observes AfterBeanDiscovery abd, BeanManager bm) {
|
|
||||||
}
|
|
||||||
|
|
||||||
void afterDeploymentValidation(@Observes AfterDeploymentValidation event, BeanManager manager) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Produces
|
|
||||||
@LiquibaseType
|
|
||||||
public CDILiquibaseConfig createConfig() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Produces
|
|
||||||
@LiquibaseType
|
|
||||||
public DataSource createDataSource() throws SQLException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Produces
|
|
||||||
@LiquibaseType
|
|
||||||
public ResourceAccessor create() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -357,6 +357,7 @@
|
|||||||
</changeSet>
|
</changeSet>
|
||||||
|
|
||||||
<changeSet author="athou" id="status-cleanup">
|
<changeSet author="athou" id="status-cleanup">
|
||||||
|
<validCheckSum>7:cf40ae235c2d4086c5fa6ac64102c6a9</validCheckSum>
|
||||||
<delete tableName="FEEDENTRYSTATUSES">
|
<delete tableName="FEEDENTRYSTATUSES">
|
||||||
<where>read_status = false and starred = false</where>
|
<where>read_status = false and starred = false</where>
|
||||||
</delete>
|
</delete>
|
||||||
|
|||||||
Reference in New Issue
Block a user