in.cleartax.dropwizard.sharding.migrations.DbClearChecksumsCommand Maven / Gradle / Ivy
package in.cleartax.dropwizard.sharding.migrations;
import io.dropwizard.Configuration;
import liquibase.Liquibase;
import net.sourceforge.argparse4j.inf.Namespace;
public class DbClearChecksumsCommand extends AbstractLiquibaseCommand {
public DbClearChecksumsCommand(MultiTenantDatabaseConfiguration strategy, Class configurationClass, String migrationsFileName) {
super("clear-checksums",
"Removes all saved checksums from the database log",
strategy,
configurationClass,
migrationsFileName);
}
@Override
public void run(Namespace namespace,
Liquibase liquibase) throws Exception {
liquibase.clearCheckSums();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy