Enable SQL migrations

This commit is contained in:
Deluan committed 2023-04-04 10:30:28 -04:00
1 parent 7847f19c9d
commit c3cc7dee01
6 files changed
+23 -8

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ func preRun() {
}
func runNavidrome() {
db.EnsureLatestVersion()
db.Init()
defer func() {
if err := db.Close(); err != nil {
log.Error("Error closing DB", err)