Commit 726fd1ad authored by Lee Davis's avatar Lee Davis

Update syntax on comparitor bug

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