really fix migration
Some checks are pending
rvr-nextgen/pipeline/pr-master Build queued...

This commit is contained in:
Bence Pőcze 2023-04-08 03:14:36 +02:00
parent 545e5b39ac
commit b2584dca31
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

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;
} }