mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Merge pull request #9662 from appwrite/add-resource-id
Add `resourceId`
This commit is contained in:
commit
3c220d603c
1 changed files with 7 additions and 0 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue