mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
fix: models
This commit is contained in:
parent
6dd6436291
commit
381374209a
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ class AttributeEmail extends Attribute
|
|||
'default' => 'email',
|
||||
'example' => 'email',
|
||||
'array' => false,
|
||||
'require' => true,
|
||||
'required' => true,
|
||||
])
|
||||
->addRule('default', [
|
||||
'type' => self::TYPE_STRING,
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class AttributeEnum extends Attribute
|
|||
'default' => 'enum',
|
||||
'example' => 'enum',
|
||||
'array' => false,
|
||||
'require' => true,
|
||||
'required' => true,
|
||||
])
|
||||
->addRule('default', [
|
||||
'type' => self::TYPE_STRING,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class AttributeIP extends Attribute
|
|||
'default' => 'ip',
|
||||
'example' => 'ip',
|
||||
'array' => false,
|
||||
'require' => true,
|
||||
'required' => true,
|
||||
])
|
||||
->addRule('default', [
|
||||
'type' => self::TYPE_STRING,
|
||||
|
|
|
|||
Loading…
Reference in a new issue