From a8d0dbc0b6a2ba4bf24eb1c3cf18664977876071 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 23 Jul 2025 00:58:50 +1200 Subject: [PATCH] Fix index construct --- src/Migration/Sources/Appwrite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Migration/Sources/Appwrite.php b/src/Migration/Sources/Appwrite.php index 50c6b34c..aa41fa65 100644 --- a/src/Migration/Sources/Appwrite.php +++ b/src/Migration/Sources/Appwrite.php @@ -1002,7 +1002,7 @@ private function exportIndexes(int $batchSize): void $index['key'], $table, $index['type'], - $index['columns'], + $index['columns'] ?? $index['attributes'], [], $index['orders'], $index['$createdAt'] = empty($index['$createdAt']) ? UtopiaDateTime::now() : $index['$createdAt'],