fix: set default play_count to 0

IncPlayCount was not incrementing when the annotation already existed with play_count = null
This commit is contained in:
Deluan
2020-02-08 22:55:05 -05:00
parent 2c146ea1fe
commit 029290f304
6 changed files with 104 additions and 18 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"sync"
"github.com/deluan/navidrome/conf"
_ "github.com/deluan/navidrome/db/migrations"
_ "github.com/deluan/navidrome/db/migration"
"github.com/deluan/navidrome/log"
_ "github.com/mattn/go-sqlite3"
"github.com/pressly/goose"