aboutsummaryrefslogtreecommitdiff
path: root/models/webhook.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/webhook.go')
-rw-r--r--models/webhook.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/webhook.go b/models/webhook.go
index dbaac3e6..2f2accf9 100644
--- a/models/webhook.go
+++ b/models/webhook.go
@@ -72,6 +72,8 @@ type Webhook struct {
HookTaskType HookTaskType
Meta string `xorm:"TEXT"` // store hook-specific attributes
OrgId int64
+ Created time.Time `xorm:"CREATED"`
+ Updated time.Time `xorm:"UPDATED"`
}
// GetEvent handles conversion from Events to HookEvent.