Skip to content

Commit cc4dbd9

Browse files
author
Mithilesh Gupta
committed
Use TEXT instead of LONGTEXT for Notice.Description
1 parent 897b8b8 commit cc4dbd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/migrations/v1_25/v321_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func Test_UseLongTextInSomeColumnsAndFixBugs(t *testing.T) {
3838
type Notice struct {
3939
ID int64 `xorm:"pk autoincr"`
4040
Type int
41-
Description string `xorm:"LONGTEXT"`
41+
Description string `xorm:"TEXT"`
4242
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
4343
}
4444

0 commit comments

Comments
 (0)