mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: add missing string type models to AttributeList and Collection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d8bf3acaed
commit
953c0cd4b4
@@ -30,6 +30,10 @@ class AttributeList extends Model
|
||||
Response::MODEL_ATTRIBUTE_POINT,
|
||||
Response::MODEL_ATTRIBUTE_LINE,
|
||||
Response::MODEL_ATTRIBUTE_POLYGON,
|
||||
Response::MODEL_ATTRIBUTE_VARCHAR,
|
||||
Response::MODEL_ATTRIBUTE_TEXT,
|
||||
Response::MODEL_ATTRIBUTE_MEDIUMTEXT,
|
||||
Response::MODEL_ATTRIBUTE_LONGTEXT,
|
||||
Response::MODEL_ATTRIBUTE_STRING // needs to be last, since its condition would dominate any other string attribute
|
||||
],
|
||||
'description' => 'List of attributes.',
|
||||
|
||||
@@ -73,6 +73,10 @@ class Collection extends Model
|
||||
Response::MODEL_ATTRIBUTE_POINT,
|
||||
Response::MODEL_ATTRIBUTE_LINE,
|
||||
Response::MODEL_ATTRIBUTE_POLYGON,
|
||||
Response::MODEL_ATTRIBUTE_VARCHAR,
|
||||
Response::MODEL_ATTRIBUTE_TEXT,
|
||||
Response::MODEL_ATTRIBUTE_MEDIUMTEXT,
|
||||
Response::MODEL_ATTRIBUTE_LONGTEXT,
|
||||
Response::MODEL_ATTRIBUTE_STRING, // needs to be last, since its condition would dominate any other string attribute
|
||||
],
|
||||
'description' => 'Collection attributes.',
|
||||
|
||||
Reference in New Issue
Block a user