update migrate
This commit is contained in:
@ -16,6 +16,11 @@ type Group struct {
|
||||
func (Group) Fields() []ent.Field {
|
||||
return []ent.Field{
|
||||
field.String("name"),
|
||||
|
||||
field.String("password").
|
||||
NotEmpty().
|
||||
Immutable().
|
||||
Sensitive(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user