We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7c948a commit abb1c92Copy full SHA for abb1c92
1 file changed
src/Migration/Sources/Appwrite.php
@@ -1003,8 +1003,8 @@ private function exportIndexes(int $batchSize): void
1003
$table,
1004
$index['type'],
1005
$index['columns'] ?? $index['attributes'],
1006
- $index['lengths'],
1007
- $index['orders'],
+ $index['lengths'] ?? [],
+ $index['orders'] ?? [],
1008
$index['$createdAt'] = empty($index['$createdAt']) ? UtopiaDateTime::now() : $index['$createdAt'],
1009
$index['$updatedAt'] = empty($index['$updatedAt']) ? UtopiaDateTime::now() : $index['$updatedAt'],
1010
);
0 commit comments