0
0
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:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2024-12-27 22:13:28 -05:00
parent 5b1e66c712
commit c1266b6a6b
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -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 {