mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 23:09:10 +08:00
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user