Skip to content

Commit

Permalink
Force full scan to enable search by tracks' artists in albums
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Apr 9, 2020
1 parent 43ce81a commit b661d52
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions db/migration/20200409002249_enable_search_by_tracks_artists.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package migration

import (
"database/sql"
"github.com/pressly/goose"
)

func init() {
goose.AddMigration(Up20200409002249, Down20200409002249)
}

func Up20200409002249(tx *sql.Tx) error {
notice(tx, "A full rescan will be performed to enable search by individual Artist in an Album!")
return forceFullRescan(tx)
}

func Down20200409002249(tx *sql.Tx) error {
return nil
}

0 comments on commit b661d52

Please sign in to comment.