Skip to content

Commit 2878d81

Browse files
committed
Remove invalid type
1 parent da25d97 commit 2878d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appwrite/services/databases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def create_collection(self, database_id: str, collection_id: str, name: str, per
477477
enabled : Optional[bool]
478478
Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.
479479
attributes : Optional[List[dict]]
480-
Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.
480+
Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.
481481
indexes : Optional[List[dict]]
482482
Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of attribute keys), orders (array of ASC/DESC, optional), and lengths (array of integers, optional).
483483

0 commit comments

Comments
 (0)