logentry.go schema update
This commit is contained in:
parent
d2a5f9bcac
commit
6a3b64ed28
@ -19,8 +19,8 @@ func (Logentry) Fields() []ent.Field {
|
|||||||
field.Time("timestamp").Default(time.Now).Immutable(),
|
field.Time("timestamp").Default(time.Now).Immutable(),
|
||||||
field.String("action"),
|
field.String("action"),
|
||||||
field.Text("data").Optional().Nillable(),
|
field.Text("data").Optional().Nillable(),
|
||||||
field.Int64("account_id"),
|
field.Int64("account_id").Optional(),
|
||||||
field.Int64("domain_id"),
|
field.Int64("domain_id").Optional(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user