mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 11:39:41 +08:00
Correction on dropCheck() message
This commit is contained in:
@ -558,7 +558,7 @@ class Migration extends Component implements MigrationInterface
|
||||
*/
|
||||
public function addCommentOnColumn($table, $column, $comment)
|
||||
{
|
||||
$time = $this->beginCommand("add comment on column $column");
|
||||
$time = $this->beginCommand("drop comment on column $column");
|
||||
$this->db->createCommand()->addCommentOnColumn($table, $column, $comment)->execute();
|
||||
$this->endCommand($time);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user