mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Enable SQL migrations
This commit is contained in:
parent
7847f19c9d
commit
c3cc7dee01
6 changed files with 23 additions and 8 deletions
|
@ -24,7 +24,7 @@ func TestPersistence(t *testing.T) {
|
|||
//conf.Server.DbPath = "./test-123.db"
|
||||
conf.Server.DbPath = "file::memory:?cache=shared"
|
||||
_ = orm.RegisterDataBase("default", db.Driver, conf.Server.DbPath)
|
||||
db.EnsureLatestVersion()
|
||||
db.Init()
|
||||
log.SetLevel(log.LevelError)
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Persistence Suite")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue