Skip to content

Commit

Permalink
run migrateAlbumRootDir again
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Feb 12, 2022
1 parent 3dc838d commit c69d45f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/db/migrations.go
Expand Up @@ -39,6 +39,7 @@ func (db *DB) Migrate(ctx MigrationContext) error {
construct(ctx, "202111021951", migrateAlbumRootDir),
construct(ctx, "202201042236", migrateArtistGuessedFolder),
construct(ctx, "202202092013", migrateArtistCover),
construct(ctx, "202202121809", migrateAlbumRootDirAgain),
}

return gormigrate.
Expand Down Expand Up @@ -321,3 +322,8 @@ func migrateArtistCover(tx *gorm.DB, ctx MigrationContext) error {
}
return nil
}

// there was an issue with that migration, try it again since it's updated
func migrateAlbumRootDirAgain(tx *gorm.DB, ctx MigrationContext) error {
return migrateAlbumRootDir(tx, ctx)
}

0 comments on commit c69d45f

Please sign in to comment.