Correction on dropCheck() message

This commit is contained in:
Roberto Braga
2023-09-22 09:03:50 +02:00
committed by GitHub
parent a45382c10a
commit 8aa0ac69a6

View File

@ -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);
}