Added initial support for PostgreSQL

This commit is contained in:
Deluan
2020-01-14 19:20:47 -05:00
parent a167669717
commit 9922ba5994
5 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func (r *artistIndexRepository) Put(idx *domain.ArtistIndex) error {
Artist: artist.Artist,
AlbumCount: artist.AlbumCount,
}
_, err := o.Insert(&a)
err := r.insert(o, &a)
if err != nil {
return err
}