aboutsummaryrefslogtreecommitdiff
path: root/internal/db/db.go
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-10-30 23:04:24 +0800
committerGitHub <noreply@github.com>2022-10-30 23:04:24 +0800
commit1905b19ee7fcc5622ad3ad4d85cc8fc2e81a0b56 (patch)
tree11c6c7bd33837733167f5f3adc9c09dacfbdd19f /internal/db/db.go
parent131be6e074039e590488892d7a99ebdbe6eb4668 (diff)
refactor(db): migrate methods off `user.go` (#7219)
Diffstat (limited to 'internal/db/db.go')
-rw-r--r--internal/db/db.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/db/db.go b/internal/db/db.go
index b765dfd8..d291fc49 100644
--- a/internal/db/db.go
+++ b/internal/db/db.go
@@ -124,6 +124,7 @@ func Init(w logger.Writer) (*gorm.DB, error) {
Follows = NewFollowsStore(db)
LoginSources = &loginSources{DB: db, files: sourceFiles}
LFS = &lfs{DB: db}
+ OrgUsers = NewOrgUsersStore(db)
Perms = &perms{DB: db}
Repos = NewReposStore(db)
TwoFactors = &twoFactors{DB: db}