Add isTriggered to record.

This commit is contained in:
Gucheng Wang
2021-11-07 17:42:41 +08:00
parent e9e0721b34
commit 87e6fb63e1
2 changed files with 37 additions and 8 deletions

View File

@ -33,6 +33,8 @@ type Record struct {
User string `xorm:"varchar(100)" json:"user"`
RequestUri string `xorm:"varchar(1000)" json:"requestUri"`
Action string `xorm:"varchar(1000)" json:"action"`
IsTriggered bool `json:"isTriggered"`
}
func NewRecord(ctx *context.Context) *Record {