diff --git a/app/config/collections/platform.php b/app/config/collections/platform.php index 5538f59133..16eafc9d4a 100644 --- a/app/config/collections/platform.php +++ b/app/config/collections/platform.php @@ -723,9 +723,9 @@ return [ ], 'indexes' => [ [ - '$id' => ID::custom('_key_project'), + '$id' => ID::custom('_key_resource'), 'type' => Database::INDEX_KEY, - 'attributes' => ['projectInternalId'], + 'attributes' => ['resourceType', 'resourceInternalId'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ],