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

add explicit TEXT type to Group.LowerName tag

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-16 19:11:57 -04:00
parent f598f125c8
commit fc62111225
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:"INDEX NOT NULL"`
LowerName string `xorm:"TEXT INDEX NOT NULL"`
Name string `xorm:"TEXT INDEX NOT NULL"`
Description string `xorm:"TEXT"`
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`