Commit 51a0529b authored by Steve Müller's avatar Steve Müller

fix CS

parent c2f626fa
......@@ -116,8 +116,8 @@ class Comparator
$localTableName = strtolower($foreignKey->getLocalTableName());
if (isset($diff->changedTables[$localTableName])) {
foreach ($diff->changedTables[$localTableName]->removedForeignKeys as $key => $removedForeignKey) {
//We check if the key is from the removed table if not we skip
if($tableName !== strtolower($removedForeignKey->getForeignTableName())) {
// We check if the key is from the removed table if not we skip.
if ($tableName !== strtolower($removedForeignKey->getForeignTableName())) {
continue;
}
unset($diff->changedTables[$localTableName]->removedForeignKeys[$key]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment