From b2584dca31985b4f48e1c81d241e7ab90bb609a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 8 Apr 2023 03:14:36 +0200 Subject: [PATCH] really fix migration --- src/Cli/MigrateDatabaseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cli/MigrateDatabaseCommand.php b/src/Cli/MigrateDatabaseCommand.php index 90e85c8..f784736 100644 --- a/src/Cli/MigrateDatabaseCommand.php +++ b/src/Cli/MigrateDatabaseCommand.php @@ -96,7 +96,7 @@ class MigrateDatabaseCommand extends Command while ($file = readdir($dir)) { $filePath = $path . '/' . $file; - if (!is_file($filePath) || pathinfo($file, PATHINFO_FILENAME) == '.gitkeep' || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) { + if (!is_file($filePath) || $file == '.gitkeep' || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) { continue; } -- 2.45.2