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 (
26
26
// Group represents a group of repositories for a user or organization
27
27
type Group struct {
28
28
ID int64 `xorm:"pk autoincr"`
29
- OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
29
+ OwnerID int64 `xorm:"INDEX NOT NULL"`
30
30
OwnerName string
31
31
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"`
34
34
Description string `xorm:"TEXT"`
35
35
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
36
36
Avatar string `xorm:"VARCHAR(64)"`
37
37
38
- ParentGroupID int64 `xorm:"DEFAULT NULL"`
38
+ ParentGroupID int64 `xorm:"INDEX DEFAULT NULL"`
39
39
ParentGroup * Group `xorm:"-"`
40
40
Subgroups RepoGroupList `xorm:"-"`
41
41
You can’t perform that action at this time.
0 commit comments