Skip to content

Commit a8d0dbc

Browse files
committed
Fix index construct
1 parent b3c51e3 commit a8d0dbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Migration/Sources/Appwrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ private function exportIndexes(int $batchSize): void
10021002
$index['key'],
10031003
$table,
10041004
$index['type'],
1005-
$index['columns'],
1005+
$index['columns'] ?? $index['attributes'],
10061006
[],
10071007
$index['orders'],
10081008
$index['$createdAt'] = empty($index['$createdAt']) ? UtopiaDateTime::now() : $index['$createdAt'],

0 commit comments

Comments
 (0)