Commit 4d7411a7 authored by Andreas Fischer's avatar Andreas Fischer Committed by Benjamin Eberlei

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 7af248c6
......@@ -1284,7 +1284,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