From 23ae499da3ec7a5ae9b62870e0fe3669cf45b25b Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 28 May 2026 11:06:30 +0300 Subject: [PATCH] formatting --- .../Modules/Databases/Http/Databases/Collections/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php index 4bacbb8f77..a0ee24db87 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php @@ -371,7 +371,7 @@ class Create extends Action $lengths[$i] = Database::MAX_ARRAY_INDEX_LENGTH; $orders[$i] = null; - if($dbForDatabases->getAdapter()->getSupportForAttributes()){ + if ($dbForDatabases->getAdapter()->getSupportForAttributes()) { // Because of a bug in MySQL, we cannot create indexes on array attributes for now, otherwise queries break. throw new Exception(Exception::INDEX_INVALID, 'Creating indexes on array attributes is not currently supported.'); }