Skip to content

Commit abb1c92

Browse files
committed
Fallbacks
1 parent f7c948a commit abb1c92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Migration/Sources/Appwrite.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,8 @@ private function exportIndexes(int $batchSize): void
10031003
$table,
10041004
$index['type'],
10051005
$index['columns'] ?? $index['attributes'],
1006-
$index['lengths'],
1007-
$index['orders'],
1006+
$index['lengths'] ?? [],
1007+
$index['orders'] ?? [],
10081008
$index['$createdAt'] = empty($index['$createdAt']) ? UtopiaDateTime::now() : $index['$createdAt'],
10091009
$index['$updatedAt'] = empty($index['$updatedAt']) ? UtopiaDateTime::now() : $index['$updatedAt'],
10101010
);

0 commit comments

Comments
 (0)