mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-03 00:47:48 +01:00
Remove sort.Interface from models (not used anymore)
This commit is contained in:
parent
19765b0ad8
commit
c404252b7f
3 changed files with 1 additions and 16 deletions
|
|
@ -57,7 +57,7 @@ func withTx(block func(orm.Ormer) error) error {
|
|||
}
|
||||
|
||||
func initORM(dbPath string) error {
|
||||
verbose := conf.Sonic.LogLevel == "debug"
|
||||
verbose := conf.Sonic.LogLevel == "trace"
|
||||
orm.Debug = verbose
|
||||
orm.RegisterModel(new(Artist))
|
||||
orm.RegisterModel(new(Album))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue