Upgrade to Liquibase 3.6.2
See gh-13625
This commit is contained in:
committed by
Stephane Nicoll
parent
fa171671b1
commit
b5cb074219
@@ -126,6 +126,12 @@ public class LiquibaseAutoConfiguration {
|
||||
liquibase.setChangeLog(this.properties.getChangeLog());
|
||||
liquibase.setContexts(this.properties.getContexts());
|
||||
liquibase.setDefaultSchema(this.properties.getDefaultSchema());
|
||||
liquibase.setLiquibaseSchema(this.properties.getLiquibaseSchema());
|
||||
liquibase.setLiquibaseTablespace(this.properties.getLiquibaseTablespace());
|
||||
liquibase.setDatabaseChangeLogTable(
|
||||
this.properties.getDatabaseChangeLogTable());
|
||||
liquibase.setDatabaseChangeLogLockTable(
|
||||
this.properties.getDatabaseChangeLogLockTable());
|
||||
liquibase.setDropFirst(this.properties.isDropFirst());
|
||||
liquibase.setShouldRun(this.properties.isEnabled());
|
||||
liquibase.setLabels(this.properties.getLabels());
|
||||
|
||||
@@ -53,6 +53,26 @@ public class LiquibaseProperties {
|
||||
*/
|
||||
private String defaultSchema;
|
||||
|
||||
/**
|
||||
* Schema to use for Liquibase objects.
|
||||
*/
|
||||
private String liquibaseSchema;
|
||||
|
||||
/**
|
||||
* Tablespace to use for Liquibase objects.
|
||||
*/
|
||||
private String liquibaseTablespace;
|
||||
|
||||
/**
|
||||
* Name of table to use for tracking change history.
|
||||
*/
|
||||
private String databaseChangeLogTable;
|
||||
|
||||
/**
|
||||
* Name of table to use for tracking concurrent Liquibase usage.
|
||||
*/
|
||||
private String databaseChangeLogLockTable;
|
||||
|
||||
/**
|
||||
* Whether to first drop the database schema.
|
||||
*/
|
||||
@@ -132,6 +152,38 @@ public class LiquibaseProperties {
|
||||
this.defaultSchema = defaultSchema;
|
||||
}
|
||||
|
||||
public String getLiquibaseSchema() {
|
||||
return this.liquibaseSchema;
|
||||
}
|
||||
|
||||
public void setLiquibaseSchema(String liquibaseSchema) {
|
||||
this.liquibaseSchema = liquibaseSchema;
|
||||
}
|
||||
|
||||
public String getLiquibaseTablespace() {
|
||||
return this.liquibaseTablespace;
|
||||
}
|
||||
|
||||
public void setLiquibaseTablespace(String liquibaseTablespace) {
|
||||
this.liquibaseTablespace = liquibaseTablespace;
|
||||
}
|
||||
|
||||
public String getDatabaseChangeLogTable() {
|
||||
return this.databaseChangeLogTable;
|
||||
}
|
||||
|
||||
public void setDatabaseChangeLogTable(String databaseChangeLogTable) {
|
||||
this.databaseChangeLogTable = databaseChangeLogTable;
|
||||
}
|
||||
|
||||
public String getDatabaseChangeLogLockTable() {
|
||||
return this.databaseChangeLogLockTable;
|
||||
}
|
||||
|
||||
public void setDatabaseChangeLogLockTable(String databaseChangeLogLockTable) {
|
||||
this.databaseChangeLogLockTable = databaseChangeLogLockTable;
|
||||
}
|
||||
|
||||
public boolean isDropFirst() {
|
||||
return this.dropFirst;
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<kafka.version>1.1.0</kafka.version>
|
||||
<kotlin.version>1.2.51</kotlin.version>
|
||||
<lettuce.version>5.1.0.M1</lettuce.version>
|
||||
<liquibase.version>3.6.1</liquibase.version>
|
||||
<liquibase.version>3.6.2</liquibase.version>
|
||||
<log4j2.version>2.11.0</log4j2.version>
|
||||
<logback.version>1.2.3</logback.version>
|
||||
<lombok.version>1.18.0</lombok.version>
|
||||
|
||||
@@ -566,6 +566,10 @@ content into your application. Rather, pick only the properties that you need.
|
||||
spring.liquibase.check-change-log-location=true # Whether to check that the change log location exists.
|
||||
spring.liquibase.contexts= # Comma-separated list of runtime contexts to use.
|
||||
spring.liquibase.default-schema= # Default database schema.
|
||||
spring.liquibase.liquibase-schema= # Schema to use for Liquibase objects.
|
||||
spring.liquibase.liquibase-tablespace= # Tablespace to use for Liquibase objects.
|
||||
spring.liquibase.database-change-log-table= # Name of table to use for tracking change history.
|
||||
spring.liquibase.database-change-log-lock-table= # Name of table to use for tracking concurrent Liquibase usage.
|
||||
spring.liquibase.drop-first=false # Whether to first drop the database schema.
|
||||
spring.liquibase.enabled=true # Whether to enable Liquibase support.
|
||||
spring.liquibase.labels= # Comma-separated list of runtime labels to use.
|
||||
|
||||
Reference in New Issue
Block a user