aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2021-08-22 23:33:05 +0800
committerGitHub <noreply@github.com>2021-08-22 23:33:05 +0800
commitb55c699c62406cb0a98c11e2a3ced99ff12faa41 (patch)
treef83a07470d86d69a8aa007676b82f3608e00ea6d /models/issue.go
parent7f856109420ddce421dab8d37e2590c9a4db4fd0 (diff)
downloadgitea-b55c699c62406cb0a98c11e2a3ced99ff12faa41.tar.gz
gitea-b55c699c62406cb0a98c11e2a3ced99ff12faa41.zip
Alter issue/comment table TEXT fields to LONGTEXT (#16765)
* Alter issue/comment table TEXT fields to LONGTEXT * Use If not Switch Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index 804d7dc101..9e63ac4e58 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -36,7 +36,7 @@ type Issue struct {
OriginalAuthor string
OriginalAuthorID int64 `xorm:"index"`
Title string `xorm:"name"`
- Content string `xorm:"TEXT"`
+ Content string `xorm:"LONGTEXT"`
RenderedContent string `xorm:"-"`
Labels []*Label `xorm:"-"`
MilestoneID int64 `xorm:"INDEX"`