mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #9662 from appwrite/add-resource-id
Add `resourceId`
This commit is contained in:
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user