navidrome/db/migrations/20200310171621_enable_searc...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
423 B
Go
Raw Normal View History

package migrations
import (
2023-11-27 20:46:44 +01:00
"context"
"database/sql"
2023-04-04 15:57:00 +02:00
"github.com/pressly/goose/v3"
)
func init() {
2023-11-27 20:46:44 +01:00
goose.AddMigrationContext(Up20200310171621, Down20200310171621)
}
2023-11-27 20:46:44 +01:00
func Up20200310171621(_ context.Context, tx *sql.Tx) error {
notice(tx, "A full rescan will be performed to enable search by Album Artist!")
return forceFullRescan(tx)
}
2023-11-27 20:46:44 +01:00
func Down20200310171621(_ context.Context, tx *sql.Tx) error {
return nil
}