/** * Remove a sequence from the table. Sequences are used as identity columns. * * @param sequence the sequence to remove */ public final void removeSequence(Sequence sequence) { remove(sequences, sequence); }
/** * Remove the given index from the list. * * @param index the index to remove */ public void removeIndex(Index index) { ArrayList<Index> indexes = getIndexes(); if (indexes != null) { remove(indexes, index); if (index.getIndexType().isPrimaryKey()) { for (Column col : index.getColumns()) { col.setPrimaryKey(false); } } } }