summaryrefslogtreecommitdiff
path: root/internal/db/bundb/bundb.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-03-06 11:18:57 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-06 11:18:57 +0100
commitb22e213e15a7bc64773e626d76305bd860e6301c (patch)
treebdc0f14481b144f8e4e45a380ea3b7cf78490041 /internal/db/bundb/bundb.go
parent[feature] Filters v1 (#2594) (diff)
downloadgotosocial-b22e213e15a7bc64773e626d76305bd860e6301c.tar.xz
[feature/chore] Add Move database functions + cache (#2647)
* [feature/chore] Add Move database functions + cache * add move mem ratio to envparsing.sh * update comment
Diffstat (limited to 'internal/db/bundb/bundb.go')
-rw-r--r--internal/db/bundb/bundb.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go
index c49da272b..a07cd6142 100644
--- a/internal/db/bundb/bundb.go
+++ b/internal/db/bundb/bundb.go
@@ -67,6 +67,7 @@ type DBService struct {
db.Marker
db.Media
db.Mention
+ db.Move
db.Notification
db.Poll
db.Relationship
@@ -221,6 +222,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
db: db,
state: state,
},
+ Move: &moveDB{
+ db: db,
+ state: state,
+ },
Notification: &notificationDB{
db: db,
state: state,