(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 <noreply@anthropic.com>
This commit is contained in:
Jake Barnby
2026-05-13 02:05:55 +12:00
parent b85ca1536a
commit f4133609db
+2 -2
View File
@@ -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' => [],
],
[