mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix(destination): use resolveDestinationDsn in databaseSpecMatches instead of source DSN
Agent-Logs-Url: https://github.com/utopia-php/migration/sessions/f7af1371-ec8c-49fd-bb9e-932ae59e7d6e Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>
This commit is contained in:
1 parent
2eefb59034
commit
9c9df8f1eb
1 file changed
+1
-1
@@ -1610,7 +1610,7 @@ class Appwrite extends Destination
|
||||
&& $existing->getAttribute('enabled') === $resource->getEnabled()
|
||||
&& $existing->getAttribute('type') === $sourceType
|
||||
&& $existing->getAttribute('originalId') === $sourceOriginalId
|
||||
&& $existing->getAttribute('database') === $resource->getDatabase();
|
||||
&& $existing->getAttribute('database') === $this->resolveDestinationDsn($resource);
|
||||
}
|
||||
|
||||
private function tableSpecMatches(UtopiaDocument $existing, Table $resource): bool
|
||||
|
||||
Reference in new issue
Block a user