From c69d45fd4e2873a39433ab4252daa8ec531c015a Mon Sep 17 00:00:00 2001 From: sentriz Date: Sat, 12 Feb 2022 18:11:32 +0000 Subject: [PATCH] run migrateAlbumRootDir again --- server/db/migrations.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/db/migrations.go b/server/db/migrations.go index 867841d0..9e6219ef 100644 --- a/server/db/migrations.go +++ b/server/db/migrations.go @@ -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. @@ -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) +}