Skip to content

Commit d47da3a

Browse files
add explicit TEXT type to Group.LowerName tag
1 parent 766d33c commit d47da3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/group/group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Group struct {
2929
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
3030
OwnerName string
3131
Owner *user_model.User `xorm:"-"`
32-
LowerName string `xorm:"INDEX NOT NULL"`
32+
LowerName string `xorm:"TEXT INDEX NOT NULL"`
3333
Name string `xorm:"TEXT INDEX NOT NULL"`
3434
Description string `xorm:"TEXT"`
3535
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`

0 commit comments

Comments
 (0)