Readded old library move in migration

This commit is contained in:
JPVenson 2024-10-20 09:43:40 +00:00
parent e20ecfc670
commit cd2e043472

View File

@ -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);