mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-22 16:56:15 -06:00
Add preview card storing to the database
This commit is contained in:
parent
85c32526f2
commit
6169351d22
12 changed files with 228 additions and 55 deletions
|
|
@ -58,6 +58,7 @@ type DBService struct {
|
|||
db.AdvancedMigration
|
||||
db.Application
|
||||
db.Basic
|
||||
db.Card
|
||||
db.Conversation
|
||||
db.Domain
|
||||
db.Emoji
|
||||
|
|
@ -186,6 +187,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
|
|||
Basic: &basicDB{
|
||||
db: db,
|
||||
},
|
||||
Card: &cardDB{
|
||||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Conversation: &conversationDB{
|
||||
db: db,
|
||||
state: state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue