Browse Source

fix MigrateController

tags/2.0.0-beta
gsd 12 years ago
parent
commit
1a46b8704c
  1. 2
      framework/yii/console/controllers/MigrateController.php

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

Loading…
Cancel
Save