fix: force full rescan to enable search by album artist

This commit is contained in:
Deluan
2020-03-10 17:23:02 -04:00
parent 7772afce1c
commit 9cb42606ba
2 changed files with 30 additions and 0 deletions
@@ -0,0 +1,21 @@
package migration
import (
"database/sql"
"github.com/pressly/goose"
)
func init() {
goose.AddMigration(Up20200310171621, Down20200310171621)
}
func Up20200310171621(tx *sql.Tx) error {
notice(tx, "A full rescan will be performed to enable search by Album Artist!")
return forceFullRescan(tx)
}
func Down20200310171621(tx *sql.Tx) error {
// This code is executed when the migration is rolled back.
return nil
}