mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-05 16:24:55 +02:00
register GroupTeam and GroupUnit models
This commit is contained in:
parent
5b1e66c712
commit
c1266b6a6b
@ -44,6 +44,8 @@ func (Group) TableName() string { return "repo_group" }
|
||||
|
||||
func init() {
|
||||
db.RegisterModel(new(Group))
|
||||
db.RegisterModel(new(GroupTeam))
|
||||
db.RegisterModel(new(GroupUnit))
|
||||
}
|
||||
|
||||
func (g *Group) doLoadSubgroups(ctx context.Context, recursive bool, cond builder.Cond, currentLevel int) error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user