diff options
| author | 2023-08-10 15:08:41 +0100 | |
|---|---|---|
| committer | 2023-08-10 15:08:41 +0100 | |
| commit | 91cbcd589e7c4ab87e5994e4d0276ea1248dc5c2 (patch) | |
| tree | a6b12c30168eb5fed4267dcb6a1f385b86afdcdf /internal/db/bundb/bundb.go | |
| parent | [feature] List replies policy, refactor async workers (#2087) (diff) | |
| download | gotosocial-91cbcd589e7c4ab87e5994e4d0276ea1248dc5c2.tar.xz | |
[performance] remove last of relational queries to instead rely on caches (#2091)
Diffstat (limited to 'internal/db/bundb/bundb.go')
| -rw-r--r-- | internal/db/bundb/bundb.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go index 8387bb8d1..26b31ff28 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -60,6 +60,7 @@ var registerTables = []interface{}{ type DBService struct { db.Account db.Admin + db.Application db.Basic db.Domain db.Emoji @@ -168,6 +169,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) { db: db, state: state, }, + Application: &applicationDB{ + db: db, + state: state, + }, Basic: &basicDB{ db: db, }, |
