From 493cbc3577daded92528ed563da52f8ea43fc5a9 Mon Sep 17 00:00:00 2001 From: Roberto Braga Date: Fri, 22 Sep 2023 09:05:32 +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 3f8c4ca73db..cae68ef042f 100644 --- a/framework/db/Migration.php +++ b/framework/db/Migration.php @@ -543,7 +543,7 @@ public function addCheck($name, $table, $expression) */ public function dropCheck($name, $table) { - $time = $this->beginCommand("add check $name in table $table"); + $time = $this->beginCommand("drop check $name in table $table"); $this->db->createCommand()->dropCheck($name, $table)->execute(); $this->endCommand($time); }