mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
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:
co-authored by
abnegate
parent
bfd6cebbb0
commit
9186ce3f24
@@ -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' => [],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user