diff options
| author | 2024-07-11 16:44:29 +0200 | |
|---|---|---|
| committer | 2024-07-11 15:44:29 +0100 | |
| commit | 5bc567196bf2204272950c525e8592e56057c3bd (patch) | |
| tree | 24aec5e75d2a0208505da16ee2c55efd887d3e25 /internal/db/bundb/bundb.go | |
| parent | [bugfix] Don't throw error when parent statuses are missing (#2011) (#3088) (diff) | |
| download | gotosocial-5bc567196bf2204272950c525e8592e56057c3bd.tar.xz | |
[chore] Add interaction policy gtsmodels (#3075)
* [chore] introduce interaction policy gts models
* update migration a smidge
* fix copy paste typo
* update migration
* use int for InteractionType
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 e7256c276..57fb661df 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -60,6 +60,7 @@ type DBService struct { db.Emoji db.HeaderFilter db.Instance + db.Interaction db.Filter db.List db.Marker @@ -203,6 +204,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) { db: db, state: state, }, + Interaction: &interactionDB{ + db: db, + state: state, + }, Filter: &filterDB{ db: db, state: state, |
