fix(insights): use VAR_ID for project internal references

Agent-Logs-Url: https://github.com/appwrite/appwrite/sessions/688345d8-e680-46c7-9002-82f73193461b

Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-08 05:17:15 +00:00
committed by GitHub
co-authored by abnegate
parent 0d65ffbb6c
commit 8c57ff161e
+6 -6
View File
@@ -1964,9 +1964,9 @@ $platformCollections = [
'attributes' => [
[
'$id' => ID::custom('projectInternalId'),
'type' => Database::VAR_STRING,
'type' => Database::VAR_ID,
'format' => '',
'size' => Database::LENGTH_KEY,
'size' => 0,
'signed' => true,
'required' => true,
'default' => null,
@@ -2100,9 +2100,9 @@ $platformCollections = [
'attributes' => [
[
'$id' => ID::custom('projectInternalId'),
'type' => Database::VAR_STRING,
'type' => Database::VAR_ID,
'format' => '',
'size' => Database::LENGTH_KEY,
'size' => 0,
'signed' => true,
'required' => true,
'default' => null,
@@ -2397,9 +2397,9 @@ $platformCollections = [
'attributes' => [
[
'$id' => ID::custom('projectInternalId'),
'type' => Database::VAR_STRING,
'type' => Database::VAR_ID,
'format' => '',
'size' => Database::LENGTH_KEY,
'size' => 0,
'signed' => true,
'required' => true,
'default' => null,