register GroupTeam and GroupUnit models

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2026-04-02 20:00:44 -04:00
parent 5b1e66c712
commit c1266b6a6b
+2
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 {