diff --git a/Lib/CakeMigration.php b/Lib/CakeMigration.php index 441bd579..207beed7 100644 --- a/Lib/CakeMigration.php +++ b/Lib/CakeMigration.php @@ -396,7 +396,7 @@ protected function _alterTable($type, $tables) { )); break; case 'change': - if (!isset($col['type'])) { + if (!isset($col['type']) || $col['type'] == $tableFields[$field]['type']) { $def = array_merge($tableFields[$field], $col); } else { $def = $col;