diff --git a/framework/console/controllers/MigrateController.php b/framework/console/controllers/MigrateController.php index 47cd45706c..3859b13c29 100644 --- a/framework/console/controllers/MigrateController.php +++ b/framework/console/controllers/MigrateController.php @@ -209,7 +209,7 @@ class MigrateController extends BaseMigrateController foreach ($rows as $row) { if (preg_match('/m?(\d{6}_?\d{6})(\D.*)?$/is', $row['version'], $matches)) { $time = str_replace('_', '', $matches[1]); - $history['m' . $time] = $row; + $history['m' . $time . $matches[2]] = $row; } } ksort($history);