mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
formatting
This commit is contained in:
1 parent
464b97d150
commit
23ae499da3
1 file changed
+1
-1
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user