From f4133609db6d5bbf0976a8e5e103c5edef980fff Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 13 May 2026 02:05:55 +1200 Subject: [PATCH] (fix): remove invalid index prefix lengths exceeding column size The prefix length 700 exceeded the resourceId/parentResourceId column size of 255 (Database::LENGTH_KEY), crashing the container at startup. Co-Authored-By: Claude Opus 4.6 --- app/config/collections/platform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/collections/platform.php b/app/config/collections/platform.php index 2236ca58a6..651eb7ebf5 100644 --- a/app/config/collections/platform.php +++ b/app/config/collections/platform.php @@ -2380,14 +2380,14 @@ $platformCollections = [ '$id' => ID::custom('_key_project_resource'), 'type' => Database::INDEX_KEY, 'attributes' => ['projectInternalId', 'resourceType', 'resourceId', '$sequence'], - 'lengths' => [null, null, 700, null], + 'lengths' => [], 'orders' => [], ], [ '$id' => ID::custom('_key_project_parent_resource'), 'type' => Database::INDEX_KEY, 'attributes' => ['projectInternalId', 'parentResourceType', 'parentResourceId', '$sequence'], - 'lengths' => [null, null, 700, null], + 'lengths' => [], 'orders' => [], ], [