for (final Table table : tables) {
if (table.isPhysicalTable()) {
for (final Iterator<ForeignKey> subIter = table.getForeignKeyIterator(); subIter.hasNext(); ) {
final ForeignKey fk = subIter.next();
if (fk.isPhysicalConstraint()) {
script.add(fk.sqlDropString(dialect, defaultCatalog, defaultSchema));
}
}
}
}
}