|
|
|
@ -28,6 +28,7 @@ import org.springframework.util.Assert;
|
|
|
|
|
* Configuration properties to configure {@link SpringLiquibase}.
|
|
|
|
|
*
|
|
|
|
|
* @author Marcel Overdijk
|
|
|
|
|
* @author Eddú Meléndez
|
|
|
|
|
* @since 1.1.0
|
|
|
|
|
*/
|
|
|
|
|
@ConfigurationProperties(prefix = "spring.liquibase", ignoreUnknownFields = false)
|
|
|
|
@ -114,6 +115,13 @@ public class LiquibaseProperties {
|
|
|
|
|
*/
|
|
|
|
|
private boolean testRollbackOnUpdate;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Tag name to use when applying database changes. Can also be used with
|
|
|
|
|
* "rollbackFile" to generate a rollback script for all existing changes associated
|
|
|
|
|
* with that tag.
|
|
|
|
|
*/
|
|
|
|
|
private String tag;
|
|
|
|
|
|
|
|
|
|
public String getChangeLog() {
|
|
|
|
|
return this.changeLog;
|
|
|
|
|
}
|
|
|
|
@ -243,4 +251,12 @@ public class LiquibaseProperties {
|
|
|
|
|
this.testRollbackOnUpdate = testRollbackOnUpdate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getTag() {
|
|
|
|
|
return this.tag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTag(String tag) {
|
|
|
|
|
this.tag = tag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|