From 649794d94c331271e0eef36cdbbf622ff5c34ca3 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 12 Dec 2024 14:39:59 +0200 Subject: [PATCH] Same as in Appwrite --- src/Migration/Destinations/Appwrite.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Migration/Destinations/Appwrite.php b/src/Migration/Destinations/Appwrite.php index 8bd2f1e..f0229c2 100644 --- a/src/Migration/Destinations/Appwrite.php +++ b/src/Migration/Destinations/Appwrite.php @@ -802,13 +802,8 @@ protected function createIndex(Index $resource): bool $lengths[$i] = null; - if ($attributeType === UtopiaDatabase::VAR_STRING) { - $lengths[$i] = $attributeSize; // set attribute size as index length only for strings - } - if ($attributeArray === true) { $lengths[$i] = UtopiaDatabase::ARRAY_INDEX_LENGTH; - $orders[$i] = null; } }