aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r--models/issue_comment.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go
index 06b74dff85..10a7d0b114 100644
--- a/models/issue_comment.go
+++ b/models/issue_comment.go
@@ -155,12 +155,12 @@ type Comment struct {
CommitID int64
Line int64 // - previous line / + proposed line
TreePath string
- Content string `xorm:"TEXT"`
+ Content string `xorm:"LONGTEXT"`
RenderedContent string `xorm:"-"`
// Path represents the 4 lines of code cemented by this comment
Patch string `xorm:"-"`
- PatchQuoted string `xorm:"TEXT patch"`
+ PatchQuoted string `xorm:"LONGTEXT patch"`
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`