From 0d65ffbb6c4f264e7b898d7a9c5ef1dcaa1aa6e5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 8 May 2026 05:13:38 +0000 Subject: [PATCH] chore(insights): simplify report index lengths and orders Agent-Logs-Url: https://github.com/appwrite/appwrite/sessions/2e52811c-bf98-4b39-b3f7-64fabcef4cf6 Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com> --- app/config/collections/platform.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config/collections/platform.php b/app/config/collections/platform.php index 2d50551a2c..9220226b9e 100644 --- a/app/config/collections/platform.php +++ b/app/config/collections/platform.php @@ -2073,21 +2073,21 @@ $platformCollections = [ '$id' => ID::custom('_key_project'), 'type' => Database::INDEX_KEY, 'attributes' => ['projectInternalId'], - 'lengths' => [Database::LENGTH_KEY], - 'orders' => [Database::ORDER_ASC], + 'lengths' => [], + 'orders' => [], ], [ '$id' => ID::custom('_key_project_type'), 'type' => Database::INDEX_KEY, 'attributes' => ['projectInternalId', 'type'], - 'lengths' => [Database::LENGTH_KEY, 64], + 'lengths' => [], 'orders' => [], ], [ '$id' => ID::custom('_key_project_target'), 'type' => Database::INDEX_KEY, 'attributes' => ['projectInternalId', 'targetType', 'target'], - 'lengths' => [Database::LENGTH_KEY, 64, 256], + 'lengths' => [], 'orders' => [], ], ],