Commit 6809773c by Alexander Makarov

Merge pull request #935 from aarondfrancis/master

Fix Issue #934
parents 38c0b197 c5a34c53
...@@ -584,7 +584,7 @@ class MigrateController extends Controller ...@@ -584,7 +584,7 @@ class MigrateController extends Controller
->from($this->migrationTable) ->from($this->migrationTable)
->orderBy('version DESC') ->orderBy('version DESC')
->limit($limit) ->limit($limit)
->createCommand() ->createCommand($this->db)
->queryAll(); ->queryAll();
$history = ArrayHelper::map($rows, 'version', 'apply_time'); $history = ArrayHelper::map($rows, 'version', 'apply_time');
unset($history[self::BASE_MIGRATION]); unset($history[self::BASE_MIGRATION]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment