diff --git a/framework/yii/console/controllers/MigrateController.php b/framework/yii/console/controllers/MigrateController.php index 7cb333a..287b887 100644 --- a/framework/yii/console/controllers/MigrateController.php +++ b/framework/yii/console/controllers/MigrateController.php @@ -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);