Skip to content

Commit 237dd6c

Browse files
committed
Fix max
1 parent 1501521 commit 237dd6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Migration/Destinations/Appwrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ protected function createIndex(Index $resource): bool
818818
$lengths[$i] = null;
819819

820820
if ($columnArray === true) {
821-
$lengths[$i] = UtopiaDatabase::ARRAY_INDEX_LENGTH;
821+
$lengths[$i] = UtopiaDatabase::MAX_ARRAY_INDEX_LENGTH;
822822
}
823823
}
824824

0 commit comments

Comments
 (0)