Correction on dropCheck() message

This commit is contained in:
Roberto Braga
2023-09-22 09:05:32 +02:00
committed by GitHub
parent 8aa0ac69a6
commit 493cbc3577

View File

@ -543,7 +543,7 @@ class Migration extends Component implements MigrationInterface
*/
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);
}