summaryrefslogtreecommitdiffstats
path: root/models/webhook/hooktask.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/webhook/hooktask.go')
-rw-r--r--models/webhook/hooktask.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/models/webhook/hooktask.go b/models/webhook/hooktask.go
index c71b18f662..aff94fb38c 100644
--- a/models/webhook/hooktask.go
+++ b/models/webhook/hooktask.go
@@ -105,7 +105,7 @@ type HookTask struct {
HookID int64
UUID string
api.Payloader `xorm:"-"`
- PayloadContent string `xorm:"TEXT"`
+ PayloadContent string `xorm:"LONGTEXT"`
EventType HookEventType
IsDelivered bool
Delivered int64
@@ -113,9 +113,9 @@ type HookTask struct {
// History info.
IsSucceed bool
- RequestContent string `xorm:"TEXT"`
+ RequestContent string `xorm:"LONGTEXT"`
RequestInfo *HookRequest `xorm:"-"`
- ResponseContent string `xorm:"TEXT"`
+ ResponseContent string `xorm:"LONGTEXT"`
ResponseInfo *HookResponse `xorm:"-"`
}