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'],