mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 03:03:16 -06:00
and yet more
This commit is contained in:
parent
896461dec3
commit
702d534136
15 changed files with 375 additions and 35 deletions
|
|
@ -50,6 +50,7 @@ type postgresService struct {
|
|||
db.Admin
|
||||
db.Basic
|
||||
db.Instance
|
||||
db.Media
|
||||
db.Mention
|
||||
db.Notification
|
||||
db.Relationship
|
||||
|
|
@ -128,6 +129,12 @@ func NewPostgresService(ctx context.Context, c *config.Config, log *logrus.Logge
|
|||
log: log,
|
||||
cancel: cancel,
|
||||
},
|
||||
Media: &mediaDB{
|
||||
config: c,
|
||||
conn: conn,
|
||||
log: log,
|
||||
cancel: cancel,
|
||||
},
|
||||
Mention: &mentionDB{
|
||||
config: c,
|
||||
conn: conn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue