From 13d28747396801f31f6e1539b4cb1b6907d918f1 Mon Sep 17 00:00:00 2001 From: quux Date: Mon, 2 Jun 2014 15:37:11 -0400 Subject: [PATCH] Fix for #232 Hint ORM that Comment content should be a text field. Fixes #232 --- models/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/issue.go b/models/issue.go index 18057985f..c79f0b9cb 100644 --- a/models/issue.go +++ b/models/issue.go @@ -771,7 +771,7 @@ type Comment struct { IssueId int64 CommitId int64 Line int64 - Content string + Content string `xorm:"TEXT"` Created time.Time `xorm:"CREATED"` }