fix: remove duplicate database fetch, add null-safe queries fallback, add schemaless comment

This commit is contained in:
Prem Palanisamy committed 2026-03-30 14:55:05 +01:00
1 parent aaebeec61e
commit d8bbd82556
2 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ class Migrations extends Action
$this->getDatabasesDBForProject($database);
$queries = [];
if ($source === SourceAppwrite::getName() && in_array($destination, [DestinationCSV::getName(), DestinationJSON::getName()])) {
$queries = Query::parseQueries($migrationOptions['queries']);
$queries = Query::parseQueries($migrationOptions['queries'] ?? []);
}
$migrationSource = match ($source) {