Finished auth tests.
This commit is contained in:
parent
27e34024f1
commit
0c8c3cc41e
3 changed files with 62 additions and 2 deletions
|
|
@ -20,8 +20,7 @@ func (PasswordToken) Fields() []ent.Field {
|
|||
Sensitive().
|
||||
NotEmpty(),
|
||||
field.Time("created_at").
|
||||
Default(time.Now).
|
||||
Immutable(),
|
||||
Default(time.Now),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue