Commit af98c2c3 authored by Andreas Fischer's avatar Andreas Fischer

Besides the table name, the column name has to be quoted in column comments.

This prevents ORA-00904: "HERE_BE_COLUMN_NAME": invalid identifier.
parent a57e05a9
......@@ -1314,7 +1314,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