}
}
for (final Iterator<Index> subIter = table.getIndexIterator(); subIter.hasNext(); ) {
final Index index = subIter.next();
script.add(index.sqlCreateString(dialect, mapping, defaultCatalog, defaultSchema));
}
if (dialect.hasAlterTable()) {
for (final Iterator<ForeignKey> subIter = table.getForeignKeyIterator(); subIter.hasNext(); ) {
final ForeignKey fk = subIter.next();