Skip to content

Commit

Permalink
Use quoted column name for alter table
Browse files Browse the repository at this point in the history
  • Loading branch information
bartv2 committed Jul 18, 2013
1 parent 1d72929 commit 380f5a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public function getAlterTableSQL(TableDiff $diff)
continue;
}

$oldColumnName = $columnDiff->oldColumnName;
$oldColumnName = $columnDiff->fromColumn->getQuotedName($this);
$column = $columnDiff->column;

if ($columnDiff->hasChanged('type')) {
Expand Down

0 comments on commit 380f5a9

Please sign in to comment.