test token
This commit is contained in:
@ -39,6 +39,10 @@ func (User) Fields() []ent.Field {
|
||||
Optional().
|
||||
Immutable(),
|
||||
|
||||
field.String("token").
|
||||
Optional().
|
||||
Sensitive(),
|
||||
|
||||
field.String("password").
|
||||
NotEmpty().
|
||||
Immutable().
|
||||
|
Reference in New Issue
Block a user