mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
The reports `_key_project_target` index was failing to create on MongoDB because target's full size (2048) plus targetType (64) exceeded the 1024 character maximum. Set explicit lengths to truncate target to 700 chars (total 765, under both Mongo 1024 and MariaDB 768 limits). Also drop redundant explicit lengths from VAR_ID positions in the insights and insightCTAs indexes — the validator rejects explicit lengths on VAR_ID attributes, and they default to length 1 anyway. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>