mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-19 11:54:56 +02:00
add explicit TEXT type to Group.LowerName tag
This commit is contained in:
parent
c2db9ec090
commit
209dbcdc46
@ -29,7 +29,7 @@ type Group struct {
|
|||||||
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
||||||
OwnerName string
|
OwnerName string
|
||||||
Owner *user_model.User `xorm:"-"`
|
Owner *user_model.User `xorm:"-"`
|
||||||
LowerName string `xorm:"INDEX NOT NULL"`
|
LowerName string `xorm:"TEXT INDEX NOT NULL"`
|
||||||
Name string `xorm:"TEXT INDEX NOT NULL"`
|
Name string `xorm:"TEXT INDEX NOT NULL"`
|
||||||
Description string `xorm:"TEXT"`
|
Description string `xorm:"TEXT"`
|
||||||
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
|
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user