mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
Correction on dropCheck() message
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user