diff --git a/application/Espo/Core/Upgrades/Migrations/V8_4/AfterUpgrade.php b/application/Espo/Core/Upgrades/Migrations/V8_4/AfterUpgrade.php index 8bb0e64ca6..28ed0b86df 100644 --- a/application/Espo/Core/Upgrades/Migrations/V8_4/AfterUpgrade.php +++ b/application/Espo/Core/Upgrades/Migrations/V8_4/AfterUpgrade.php @@ -59,7 +59,7 @@ class AfterUpgrade implements Script $type = $linkDefs['type'] ?? null; $foreignEntityType = $linkDefs['entity'] ?? null; $midKeys = $linkDefs['midKeys'] ?? null; - //$isCustom = $relationDefs['isCustom'] ?? false; + $isCustom = $relationDefs['isCustom'] ?? false; if ($type !== RelationType::HAS_MANY) { continue; @@ -73,9 +73,9 @@ class AfterUpgrade implements Script continue; } - /*if ($isCustom) { + if (!$isCustom) { continue; - }*/ + } if ($linkDefs['_keysSwappedAfterUpgrade'] ?? false) { continue;