liquibase.ext.mssql.database.MSSQLDatabase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-mssql Show documentation
Show all versions of liquibase-mssql Show documentation
Liquibase extensions for MS SQL Server.
package liquibase.ext.mssql.database;
import liquibase.CatalogAndSchema;
import liquibase.exception.LiquibaseException;
import liquibase.executor.ExecutorService;
import liquibase.ext.mssql.statement.DropStoredProcedureStatement;
public class MSSQLDatabase extends liquibase.database.core.MSSQLDatabase {
@Override
public int getPriority() {
return PRIORITY_DATABASE;
}
@Override
public void dropDatabaseObjects(CatalogAndSchema schemaToDrop) throws LiquibaseException {
super.dropDatabaseObjects(schemaToDrop);
ExecutorService.getInstance().getExecutor(this).execute(new DropStoredProcedureStatement(this.getLiquibaseCatalogName(), this.getLiquibaseSchemaName()));
}
}