diff options
| author | 2023-06-21 18:26:40 +0200 | |
|---|---|---|
| committer | 2023-06-21 17:26:40 +0100 | |
| commit | 831ae09f8bab04af854243421047371339c3e190 (patch) | |
| tree | f7709d478cc363dc1899bdb658fe20e2dc7986f3 /internal/db/bundb/bundb.go | |
| parent | [docs] Disambiguate docker version, don't recommend opening localhost (#1913) (diff) | |
| download | gotosocial-831ae09f8bab04af854243421047371339c3e190.tar.xz | |
[feature] Add partial text search for accounts + statuses (#1836)
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 f0329e898..9d616954a 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -71,6 +71,7 @@ type DBService struct { db.Notification db.Relationship db.Report + db.Search db.Session db.Status db.StatusBookmark @@ -204,6 +205,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) { conn: conn, state: state, }, + Search: &searchDB{ + conn: conn, + state: state, + }, Session: &sessionDB{ conn: conn, }, |
