mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-14 19:38:04 +02:00
remove UNIQUE constraint on Group.LowerName
This commit is contained in:
parent
b6f3c1623b
commit
c2db9ec090
@ -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:"UNIQUE(s) INDEX NOT NULL"`
|
LowerName string `xorm:"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