From c294386e175396f6405bc785d9589afc2cca7f61 Mon Sep 17 00:00:00 2001 From: Darshan Date: Thu, 17 Apr 2025 16:39:02 +0530 Subject: [PATCH] add: `resourceId` for csv. --- src/Appwrite/Utopia/Response/Model/Migration.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Appwrite/Utopia/Response/Model/Migration.php b/src/Appwrite/Utopia/Response/Model/Migration.php index f70dc37027..3be1d519a6 100644 --- a/src/Appwrite/Utopia/Response/Model/Migration.php +++ b/src/Appwrite/Utopia/Response/Model/Migration.php @@ -59,6 +59,13 @@ class Migration extends Model 'example' => ['user'], 'array' => true ]) + ->addRule('resourceId', [ + 'type' => self::TYPE_STRING, + 'description' => 'Id of the resource to migrate.', + 'default' => '', + 'example' => 'databaseId:collectionId', + 'array' => false + ]) ->addRule('statusCounters', [ 'type' => self::TYPE_JSON, 'description' => 'A group of counters that represent the total progress of the migration.',