logentry.go schema update

This commit is contained in:
Darko Luketic 2022-04-08 21:25:46 +02:00
parent d2a5f9bcac
commit 6a3b64ed28

View File

@ -19,8 +19,8 @@ func (Logentry) Fields() []ent.Field {
field.Time("timestamp").Default(time.Now).Immutable(),
field.String("action"),
field.Text("data").Optional().Nillable(),
field.Int64("account_id"),
field.Int64("domain_id"),
field.Int64("account_id").Optional(),
field.Int64("domain_id").Optional(),
}
}