Commit 9b35606f authored by Lee Davis's avatar Lee Davis Committed by Benjamin Eberlei

Update syntax on comparitor bug

parent 9848b188
...@@ -295,8 +295,7 @@ class Comparator ...@@ -295,8 +295,7 @@ class Comparator
$removedColumnName = strtolower($removedColumn->getName()); $removedColumnName = strtolower($removedColumn->getName());
$addedColumnName = strtolower($addedColumn->getName()); $addedColumnName = strtolower($addedColumn->getName());
if (!isset($tableDifferences->renamedColumns[$removedColumnName])) if ( ! isset($tableDifferences->renamedColumns[$removedColumnName])) {
{
$tableDifferences->renamedColumns[$removedColumnName] = $addedColumn; $tableDifferences->renamedColumns[$removedColumnName] = $addedColumn;
unset($tableDifferences->addedColumns[$addedColumnName]); unset($tableDifferences->addedColumns[$addedColumnName]);
unset($tableDifferences->removedColumns[$removedColumnName]); unset($tableDifferences->removedColumns[$removedColumnName]);
......
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