mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 06:11:35 +08:00
db/ColumnSchemaBuilder::buildCommentString() returns empty string by default
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user