Browse Source

Merge pull request #935 from aarondfrancis/master

Fix Issue #934
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
6809773c77
  1. 2
      framework/yii/console/controllers/MigrateController.php

2
framework/yii/console/controllers/MigrateController.php

@ -584,7 +584,7 @@ class MigrateController extends Controller
->from($this->migrationTable)
->orderBy('version DESC')
->limit($limit)
->createCommand()
->createCommand($this->db)
->queryAll();
$history = ArrayHelper::map($rows, 'version', 'apply_time');
unset($history[self::BASE_MIGRATION]);

Loading…
Cancel
Save