mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: remove duplicate database fetch, add null-safe queries fallback, add schemaless comment
This commit is contained in:
1 parent
aaebeec61e
commit
d8bbd82556
2 files changed
+4
-5
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user