Remove sort.Interface from models (not used anymore)

This commit is contained in:
Deluan
2020-01-15 08:36:25 -05:00
parent 19765b0ad8
commit c404252b7f
3 changed files with 1 additions and 16 deletions
+1 -1
View File
@@ -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))