1
0

add egg_at

This commit is contained in:
2023-07-23 23:40:24 +09:00
parent 1615c253ba
commit 6116d5a076
22 changed files with 744 additions and 161 deletions

View File

@ -98,6 +98,12 @@ func (User) Fields() []ent.Field {
return time.Now().In(jst)
}),
field.Time("egg_at").
Optional().
Default(func() time.Time {
return time.Now().In(jst)
}),
field.Int("luck").
Optional(),