mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-13 06:46:03 +02:00
remove unused/redundant IsPrivate field from Group struct
This commit is contained in:
parent
ed0d5b0cba
commit
c0b35ae8b4
@ -24,11 +24,10 @@ type Group struct {
|
|||||||
ID int64 `xorm:"pk autoincr"`
|
ID int64 `xorm:"pk autoincr"`
|
||||||
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:"UNIQUE(s) 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"`
|
||||||
IsPrivate bool
|
|
||||||
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
|
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
|
||||||
Avatar string `xorm:"VARCHAR(64)"`
|
Avatar string `xorm:"VARCHAR(64)"`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user