diff --git a/models/webhook.go b/models/webhook.go index 9f1b6131afc54..f91d3695c09f5 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -641,7 +641,7 @@ type HookTask struct { RepoID int64 `xorm:"INDEX"` HookID int64 UUID string - Typ HookTaskType + Typ HookTaskType `xorm:"char(16) 'type'"` URL string `xorm:"TEXT"` Signature string `xorm:"TEXT"` api.Payloader `xorm:"-"`