File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ import (
2626// Group represents a group of repositories for a user or organization
2727type Group struct {
2828 ID int64 `xorm:"pk autoincr"`
29- OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
29+ OwnerID int64 `xorm:"INDEX NOT NULL"`
3030 OwnerName string
3131 Owner * user_model.User `xorm:"-"`
32- LowerName string `xorm:"TEXT INDEX NOT NULL"`
33- Name string `xorm:"TEXT INDEX NOT NULL"`
32+ LowerName string `xorm:"TEXT NOT NULL"`
33+ Name string `xorm:"TEXT NOT NULL"`
3434 Description string `xorm:"TEXT"`
3535 Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
3636 Avatar string `xorm:"VARCHAR(64)"`
3737
38- ParentGroupID int64 `xorm:"DEFAULT NULL"`
38+ ParentGroupID int64 `xorm:"INDEX DEFAULT NULL"`
3939 ParentGroup * Group `xorm:"-"`
4040 Subgroups RepoGroupList `xorm:"-"`
4141
You can’t perform that action at this time.
0 commit comments