mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-18 22:59:24 +08:00
fix code style
This commit is contained in:
@@ -210,7 +210,8 @@ class MigrateController extends BaseMigrateController
|
|||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
if ($row['version'] === self::BASE_MIGRATION) {
|
if ($row['version'] === self::BASE_MIGRATION) {
|
||||||
continue;
|
continue;
|
||||||
} elseif (preg_match('/m?(\d{6}_?\d{6})(\D.*)?$/is', $row['version'], $matches)) {
|
}
|
||||||
|
if (preg_match('/m?(\d{6}_?\d{6})(\D.*)?$/is', $row['version'], $matches)) {
|
||||||
$time = str_replace('_', '', $matches[1]);
|
$time = str_replace('_', '', $matches[1]);
|
||||||
$history['m' . $time . $matches[2]] = $row;
|
$history['m' . $time . $matches[2]] = $row;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user