Commit 7b19e5df authored by Kim Hemsø Rasmussen's avatar Kim Hemsø Rasmussen

Added comment support

parent 9a93bf7a
......@@ -171,4 +171,9 @@ class DrizzlePlatform extends AbstractPlatform
{
return true;
}
public function supportsInlineColumnComments()
{
return true;
}
}
......@@ -35,6 +35,7 @@ class DrizzleSchemaManager extends AbstractSchemaManager
$options = array(
'autoincrement' => (boolean)$tableColumn['IS_AUTO_INCREMENT'],
'comment' => (isset($tableColumn['COLUMN_COMMENT']) ? $tableColumn['COLUMN_COMMENT'] : null),
);
return new Column($tableName, \Doctrine\DBAL\Types\Type::getType($type), $options);
......
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