From 2f1e47e35a90f3c5807a95edd7a47eaedc0ca2e2 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Thu, 20 Nov 2025 18:56:14 +0530 Subject: [PATCH] updated migrations --- composer.lock | 20 ++++++++++---------- src/Appwrite/Platform/Workers/Migrations.php | 3 ++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index a095a570e3..ca89343ceb 100644 --- a/composer.lock +++ b/composer.lock @@ -4455,12 +4455,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "105b48dcf2bc8a1a969497813f3d7d06231770e6" + "reference": "bcd7bcb634dea60485c16648e68ed7a255315560" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/105b48dcf2bc8a1a969497813f3d7d06231770e6", - "reference": "105b48dcf2bc8a1a969497813f3d7d06231770e6", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/bcd7bcb634dea60485c16648e68ed7a255315560", + "reference": "bcd7bcb634dea60485c16648e68ed7a255315560", "shasum": "" }, "require": { @@ -4502,7 +4502,7 @@ "issues": "https://github.com/utopia-php/migration/issues", "source": "https://github.com/utopia-php/migration/tree/feat-documents-db" }, - "time": "2025-11-19T12:47:12+00:00" + "time": "2025-11-20T13:04:52+00:00" }, { "name": "utopia-php/mongo", @@ -5374,16 +5374,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.5.7", + "version": "1.5.8", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "dc6720ba92ed98e2c62b2a319d4371f167ccc808" + "reference": "05367bc4a4c3e020e9aca114ae875b626ce8fc55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/dc6720ba92ed98e2c62b2a319d4371f167ccc808", - "reference": "dc6720ba92ed98e2c62b2a319d4371f167ccc808", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/05367bc4a4c3e020e9aca114ae875b626ce8fc55", + "reference": "05367bc4a4c3e020e9aca114ae875b626ce8fc55", "shasum": "" }, "require": { @@ -5419,9 +5419,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.5.7" + "source": "https://github.com/appwrite/sdk-generator/tree/1.5.8" }, - "time": "2025-11-18T05:57:01+00:00" + "time": "2025-11-20T11:00:34+00:00" }, { "name": "doctrine/annotations", diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index 4a6902253e..34f6533da6 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -205,7 +205,8 @@ class Migrations extends Action $resourceId, $migrationOptions['path'], $this->deviceForMigrations, - $this->dbForProject + $this->dbForProject, + $getDatabasesDB ), default => throw new \Exception('Invalid source type'), };