Compare commits

..

2 Commits

Author SHA1 Message Date
03d71727e8
Merge pull request 'really fix migration' (!3) from fix-migration into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
Reviewed-on: #3
2023-04-08 03:15:25 +02:00
b2584dca31
really fix migration
Some checks are pending
rvr-nextgen/pipeline/pr-master Build queued...
2023-04-08 03:14:36 +02:00

View File

@ -96,7 +96,7 @@ class MigrateDatabaseCommand extends Command
while ($file = readdir($dir)) { while ($file = readdir($dir)) {
$filePath = $path . '/' . $file; $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; continue;
} }