use of liquibase.statement.core.RenameSequenceStatement in project liquibase by liquibase.
the class RenameSequenceChange method generateStatements.
@Override
public SqlStatement[] generateStatements(Database database) {
List<SqlStatement> statements = new ArrayList<SqlStatement>();
statements.add(new RenameSequenceStatement(getCatalogName(), getSchemaName(), getOldSequenceName(), getNewSequenceName()));
return statements.toArray(new SqlStatement[statements.size()]);
}
Aggregations