From e286037ce82961585f65b245d4fcfdcf0ae2663f Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Mon, 22 Dec 2025 15:37:54 +0530 Subject: [PATCH] temp for tests --- app/config/collections/platform.php | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/app/config/collections/platform.php b/app/config/collections/platform.php index d44d9b725c..94d65f4af3 100644 --- a/app/config/collections/platform.php +++ b/app/config/collections/platform.php @@ -643,6 +643,39 @@ return [ 'array' => false, 'filters' => [], ], + [ + '$id' => 'resourceType', + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => Database::LENGTH_KEY, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => [], + ], + [ + '$id' => 'resourceId', + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => Database::LENGTH_KEY, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => [], + ], + [ + '$id' => 'resourceInternalId', + 'type' => Database::VAR_STRING, + 'format' => '', + 'size' => Database::LENGTH_KEY, + 'signed' => true, + 'required' => false, + 'default' => null, + 'array' => false, + 'filters' => [], + ], [ '$id' => ID::custom('name'), 'type' => Database::VAR_STRING, @@ -718,6 +751,13 @@ return [ 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], ], + [ + '$id' => '_key_resource', + 'type' => Database::INDEX_KEY, + 'attributes' => ['resourceType', 'resourceInternalId'], + 'lengths' => [Database::LENGTH_KEY], + 'orders' => [Database::ORDER_ASC], + ], [ '$id' => '_key_accessedAt', 'type' => Database::INDEX_KEY,