Package liquibase.change.custom
Interface CustomSqlRollback
-
public interface CustomSqlRollbackInterface to implement that allows rollback of a custom sql change.- See Also:
CustomSqlChange
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlStatement[]generateRollbackStatements(Database database)Generates the SQL statements required to roll back the change
-
-
-
Method Detail
-
generateRollbackStatements
SqlStatement[] generateRollbackStatements(Database database) throws CustomChangeException, RollbackImpossibleException
Generates the SQL statements required to roll back the change- Parameters:
database- the targetDatabaseassociated to this change's rollback statements- Returns:
- an array of
SqlStatements with the rollback statements - Throws:
CustomChangeException- if an exception occurs while processing this rollbackRollbackImpossibleException- if rollback is not supported for this change
-
-