liquibase.sqlgenerator.ext.nochangelogupdate.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-nochangelogupdate Show documentation
Show all versions of liquibase-nochangelogupdate Show documentation
When running an update, Liquibase will not touch the databasechangelog table to mark changeSets as ran
The newest version!
package liquibase.sqlgenerator.ext.nochangelogupdate;
public class Config {
private static Config instance = new Config();
public static Config getInstance() {
return instance;
}
private Config() {
}
public boolean isEnabled() {
String enabledProperty = System.getProperty("liquibase.ext.nochangelogupdate.enabled");
if (enabledProperty == null) {
return true;
}
return Boolean.valueOf(enabledProperty);
}
}