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>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-08 05:13:38 +00:00
committed by GitHub
co-authored by abnegate
parent 6c6782dd28
commit 0d65ffbb6c
+4 -4
View File
@@ -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' => [],
],
],