Merge pull request #9662 from appwrite/add-resource-id

Add `resourceId`
This commit is contained in:
Jake Barnby 2025-04-17 11:24:49 +00:00 committed by GitHub
commit 3c220d603c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.',