diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-14 17:11:30 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-14 17:11:30 -0500 |
commit | 52d66ba6c8b44b4aa28bdc2cd50acba9e22b3e66 (patch) | |
tree | a556e4e5241ccf86787097c5f4cb8767fcf06830 /models/webhook.go | |
parent | 437dd5272f557ffa3367a70230feeb1aa448b0e4 (diff) | |
download | gitea-52d66ba6c8b44b4aa28bdc2cd50acba9e22b3e66.tar.gz gitea-52d66ba6c8b44b4aa28bdc2cd50acba9e22b3e66.zip |
#12, use go-gogs-client
Diffstat (limited to 'models/webhook.go')
-rw-r--r-- | models/webhook.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/webhook.go b/models/webhook.go index dbaac3e667..2f2accf9d2 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. |