--- Platforms/MySqlPlatform.old.php 2011-05-13 16:33:41.000000000 -0500 +++ Platforms/MySqlPlatform.php 2011-05-13 16:31:42.000000000 -0500 @@ -425,12 +425,12 @@ foreach ($diff->changedColumns AS $columnDiff) { /* @var $columnDiff Doctrine\DBAL\Schema\ColumnDiff */ $column = $columnDiff->column; - $queryParts[] = 'CHANGE ' . ($columnDiff->oldColumnName) . ' ' + $queryParts[] = 'CHANGE ' . $this->quoteIdentifier($columnDiff->oldColumnName) . ' ' . $this->getColumnDeclarationSQL($column->getQuotedName($this), $column->toArray()); } foreach ($diff->renamedColumns AS $oldColumnName => $column) { - $queryParts[] = 'CHANGE ' . $oldColumnName . ' ' + $queryParts[] = 'CHANGE ' . $this->quoteIdentifier($oldColumnName) . ' ' . $this->getColumnDeclarationSQL($column->getQuotedName($this), $column->toArray()); }