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