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(); $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);

Loading…
Cancel
Save