From 8aa0ac69a64d5dd115777e978ca033b25fe8acf0 Mon Sep 17 00:00:00 2001 From: Roberto Braga Date: Fri, 22 Sep 2023 09:03:50 +0200 Subject: [PATCH] Correction on dropCheck() message --- framework/db/Migration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/Migration.php b/framework/db/Migration.php index 433d97d14fc..3f8c4ca73db 100644 --- a/framework/db/Migration.php +++ b/framework/db/Migration.php @@ -558,7 +558,7 @@ public function dropCheck($name, $table) */ 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); }