All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.sqlgenerator.ext.nochangelogupdate.Config Maven / Gradle / Ivy

Go to download

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy