Commit 3da7d2ff authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #407 from bantu/quote-column-in-comment

Besides the table name, the column name has to be quoted in column comments
parents 1b05241f af98c2c3
......@@ -1283,7 +1283,7 @@ abstract class AbstractPlatform
if ($this->supportsCommentOnStatement()) {
foreach ($table->getColumns() as $column) {
if ($this->getColumnComment($column)) {
$sql[] = $this->getCommentOnColumnSQL($tableName, $column->getName(), $this->getColumnComment($column));
$sql[] = $this->getCommentOnColumnSQL($tableName, $column->getQuotedName($this), $this->getColumnComment($column));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment