mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 09:17:15 +08:00
fix MigrateController
This commit is contained in:
@ -151,7 +151,7 @@ class MigrateController extends Controller
|
||||
$migrations = $this->getNewMigrations();
|
||||
if (empty($migrations)) {
|
||||
echo "No new migration found. Your system is up-to-date.\n";
|
||||
Yii::$app->end();
|
||||
return;
|
||||
}
|
||||
|
||||
$total = count($migrations);
|
||||
|
Reference in New Issue
Block a user