From 66194722a95a49f585bb7401e80a44f6fd6ce1b1 Mon Sep 17 00:00:00 2001 From: Darshan Date: Sun, 1 Jun 2025 12:56:59 +0530 Subject: [PATCH] add: `error` to response model. --- 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 3be1d519a6..75aebfbc66 100644 --- a/src/Appwrite/Utopia/Response/Model/Migration.php +++ b/src/Appwrite/Utopia/Response/Model/Migration.php @@ -85,6 +85,13 @@ class Migration extends Model 'default' => [], 'example' => [], ]) + ->addRule('error', [ + 'type' => self::TYPE_STRING, + 'description' => 'A readable error message that occurred during the CSV migration process.', + 'array' => false, + 'default' => null, + 'example' => '', + ]) ; }