diff --git a/src/Cli/MigrateDatabaseCommand.php b/src/Cli/MigrateDatabaseCommand.php index 9cd0597..90e85c8 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) || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) { + if (!is_file($filePath) || pathinfo($file, PATHINFO_FILENAME) == '.gitkeep' || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) { continue; }