mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat: wip postgres support
This commit is contained in:
parent
ffa2447c59
commit
cc0c071cce
16 changed files with 362 additions and 211 deletions
|
@ -8,10 +8,10 @@ import (
|
|||
)
|
||||
|
||||
type IndexerRepo struct {
|
||||
db *SqliteDB
|
||||
db *DB
|
||||
}
|
||||
|
||||
func NewIndexerRepo(db *SqliteDB) domain.IndexerRepo {
|
||||
func NewIndexerRepo(db *DB) domain.IndexerRepo {
|
||||
return &IndexerRepo{
|
||||
db: db,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue