0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 05:45:23 +02:00

remove UNIQUE constraint on Group.LowerName

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-16 19:06:03 -04:00
parent 365769e2f7
commit f598f125c8
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -29,7 +29,7 @@ type Group struct {
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
OwnerName string
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"`
Description string `xorm:"TEXT"`
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`