Browse Source

Merge pull request #537 from sergon/patch-4

fix MigrateController
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
c2ac0f1c95
  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