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:
copilot-swe-agent[bot]andabnegate authored and GitHub committed 2026-05-08 06:07:13 +00:00
1 parent 2eefb59034
commit 9c9df8f1eb
1 file changed
+1 -1
+1 -1
View File
@@ -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