db/ColumnSchemaBuilder::buildCommentString() returns empty string by default

This commit is contained in:
SilverFire - Dmitry Naumenko
2016-04-20 09:26:07 +03:00
parent 8999e66e71
commit 15432971d6
9 changed files with 19 additions and 90 deletions

View File

@ -43,6 +43,14 @@ class ColumnSchemaBuilder extends AbstractColumnSchemaBuilder
return $this->isFirst ? ' FIRST' : '';
}
/**
* @inheritdoc
*/
protected function buildCommentString()
{
return $this->comment !== null ? " COMMENT " . $this->db->quoteValue($this->comment) : '';
}
/**
* @inheritdoc
*/