From 9c9df8f1eb12c3fb1fa98f4749005190ccd279b5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 8 May 2026 06:07:13 +0000 Subject: [PATCH] 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> --- src/Migration/Destinations/Appwrite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Migration/Destinations/Appwrite.php b/src/Migration/Destinations/Appwrite.php index a34e164b26..312f7e3fd3 100644 --- a/src/Migration/Destinations/Appwrite.php +++ b/src/Migration/Destinations/Appwrite.php @@ -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