mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 04:27:37 +03:00
Enable SQL migrations
This commit is contained in:
parent
7847f19c9d
commit
c3cc7dee01
6 changed files with 23 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue