diff --git a/composer.lock b/composer.lock index 63323ad236..9d9f0a78c7 100644 --- a/composer.lock +++ b/composer.lock @@ -3955,7 +3955,7 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/migration", - "reference": "5c4e6c61c393d176348e88b65730a14b52f4ea2e" + "reference": "b308d9183f1f8ab32e172f31744ad93db319cba9" }, "require": { "appwrite/appwrite": "11.*", @@ -4011,7 +4011,7 @@ "upf", "utopia" ], - "time": "2025-04-08T08:38:41+00:00" + "time": "2025-04-09T12:54:03+00:00" }, { "name": "utopia-php/orchestration", diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index b670c79822..ac13d54959 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -140,7 +140,8 @@ class Migrations extends Action Csv::getName() => new Csv( $resourceId, $credentials['path'], - $this->deviceForCsvImports + $this->deviceForCsvImports, + $this->dbForProject ), default => throw new \Exception('Invalid source type'), };