This commit is contained in:
fogelito
2024-11-13 18:32:20 +02:00
parent 71f2c6c131
commit 68e96e9851
+1
View File
@@ -2609,6 +2609,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/indexes')
throw new Exception(Exception::ATTRIBUTE_NOT_AVAILABLE, 'Attribute not available: ' . $oldAttributes[$attributeIndex]['key']);
}
// todo: Think of a better solution
$lengths[$i] = null;
if ($attributeType === Database::VAR_STRING) {