Skip empty ID

This commit is contained in:
Jake Barnby 2025-05-16 20:29:52 +12:00
parent 2d6d79de7b
commit 4d4cfef1ad
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

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}\"");