From d6b698a8f5760d1f27e113f3377d299bb8f7f234 Mon Sep 17 00:00:00 2001 From: beberlei <kontakt@beberlei.de> Date: Sat, 12 Jun 2010 13:31:34 +0200 Subject: [PATCH] Fix Comparator not to include platform options anymore --- lib/Doctrine/DBAL/Schema/Comparator.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/Doctrine/DBAL/Schema/Comparator.php b/lib/Doctrine/DBAL/Schema/Comparator.php index 4bdd9a7db..54764f325 100644 --- a/lib/Doctrine/DBAL/Schema/Comparator.php +++ b/lib/Doctrine/DBAL/Schema/Comparator.php @@ -329,17 +329,6 @@ class Comparator $changedProperties[] = 'autoincrement'; } - foreach ($column1->getPlatformOptions() AS $optionName => $optionValue) { - if (!$column2->hasPlatformOption($optionName) || $optionValue != $column2->getPlatformOption($optionName)) { - $changedProperties[] = $optionName; - } - } - foreach ($column2->getPlatformOptions() AS $optionName => $optionValue) { - if (!$column1->hasPlatformOption($optionName)) { - $changedProperties[] = $optionName; - } - } - return $changedProperties; } -- 2.21.0