restore previous liquibase version to fix issue with "filter" column not created with correct case in FEEDSUBSCRIPTIONS table

This commit is contained in:
Athou
2022-01-01 22:06:54 +01:00
parent 0a97f04257
commit e01e59b72c
2 changed files with 7 additions and 3 deletions

View File

@@ -294,6 +294,11 @@
<artifactId>dropwizard-migrations</artifactId>
<version>${dropwizard.version}</version>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version>3.6.3</version>
</dependency>
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-assets</artifactId>

View File

@@ -63,9 +63,8 @@ public class StartupService implements Managed {
}
ResourceAccessor accessor = new ClassLoaderResourceAccessor(Thread.currentThread().getContextClassLoader());
try (Liquibase liq = new Liquibase("migrations.xml", accessor, database)) {
liq.update("prod");
}
Liquibase liq = new Liquibase("migrations.xml", accessor, database);
liq.update("prod");
} catch (Exception e) {
throw new RuntimeException(e);