Browse Source

Readded old library move in migration

JPVenson 8 months ago
parent
commit
cd2e043472
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs

+ 3 - 3
Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs

@@ -247,9 +247,9 @@ public class MigrateLibraryDb : IMigrationRoutine
         _logger.LogInformation("Saving AncestorIds took {0}.", stepElapsed);
 
         connection.Close();
-        // _logger.LogInformation("Migration of the Library.db done.");
-        // _logger.LogInformation("Move {0} to {1}.", libraryDbPath, libraryDbPath + ".old");
-        // File.Move(libraryDbPath, libraryDbPath + ".old");
+        _logger.LogInformation("Migration of the Library.db done.");
+        _logger.LogInformation("Move {0} to {1}.", libraryDbPath, libraryDbPath + ".old");
+        File.Move(libraryDbPath, libraryDbPath + ".old");
 
         _logger.LogInformation("Migrating Library db took {0}.", stopwatch.Elapsed);