fix MigrateController

This commit is contained in:
gsd
2013-06-15 02:28:18 +06:00
parent a951e1c8e1
commit 1a46b8704c

View File

@ -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);