Skip to content

Commit

Permalink
Fix migration with comments using ANSI_QUOTE SQL mode (#15620)
Browse files Browse the repository at this point in the history
  • Loading branch information
schleumer authored and taylorotwell committed Sep 27, 2016
1 parent decc107 commit 48fe192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ protected function modifyAfter(Blueprint $blueprint, Fluent $column)
protected function modifyComment(Blueprint $blueprint, Fluent $column)
{
if (! is_null($column->comment)) {
return ' comment "'.$column->comment.'"';
return " comment '".$column->comment."'";
}
}

Expand Down

0 comments on commit 48fe192

Please sign in to comment.