chore(advisor): document null index prefix lengths in reports index

Agent-Logs-Url: https://github.com/appwrite/appwrite/sessions/517a4586-d3e8-40b3-a3a9-f2d2ca82b0a0

Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-11 02:05:20 +00:00
committed by GitHub
co-authored by abnegate
parent bfd6cebbb0
commit 9186ce3f24
+2
View File
@@ -2102,6 +2102,8 @@ $platformCollections = [
'$id' => ID::custom('_key_project_target'),
'type' => Database::INDEX_KEY,
'attributes' => ['projectInternalId', 'targetType', 'target'],
// `projectInternalId` and `targetType` do not need explicit prefix lengths.
// Keep a prefix on the free-form `target` string to stay under index limits.
'lengths' => [null, null, 700],
'orders' => [],
],