Skip empty ID

This commit is contained in:
Jake Barnby
2025-05-16 20:29:52 +12:00
parent 2d6d79de7b
commit 4d4cfef1ad
+5 -1
View File
@@ -64,7 +64,11 @@ class V23 extends Migration
$collections = $this->collections[$collectionType];
foreach ($collections as $collection) {
$id = $collection['$id'];
$id = $collection['$id'] ?? null;
if (empty($id)) {
continue;
}
Console::log("Migrating Collection \"{$id}\"");