mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Add response model rule
This commit is contained in:
parent
299664d18b
commit
64dd4bdce1
1 changed files with 7 additions and 1 deletions
|
|
@ -46,9 +46,15 @@ class Migration extends Model
|
|||
'default' => '',
|
||||
'example' => 'Appwrite',
|
||||
])
|
||||
->addRule('destination', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'A string containing the type of destination of the migration.',
|
||||
'default' => 'Appwrite',
|
||||
'example' => 'Appwrite',
|
||||
])
|
||||
->addRule('resources', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Resources to migration.',
|
||||
'description' => 'Resources to migrate.',
|
||||
'default' => [],
|
||||
'example' => ['user'],
|
||||
'array' => true
|
||||
|
|
|
|||
Loading…
Reference in a new issue