-
-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force full scan to enable search by tracks' artists in albums
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
db/migration/20200409002249_enable_search_by_tracks_artists.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |