mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge pull request #8889 from appwrite/fix-migrations-queries
Fix missing allow attribute
This commit is contained in:
commit
894b6f478d
2 changed files with 8 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ class Migrations extends Base
|
|||
'status',
|
||||
'stage',
|
||||
'source',
|
||||
'destination',
|
||||
'resources',
|
||||
'statusCounters',
|
||||
'resourceData',
|
||||
|
|
|
|||
|
|
@ -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