Add migration to cleans DB of 7.10.1 hack

This commit is contained in:
Michael Bucari-Tovo 2022-06-07 15:25:52 -06:00
parent 5bc76a3160
commit 30e6deeeaa
2 changed files with 26 additions and 2 deletions

View file

@ -200,7 +200,7 @@ namespace ApplicationServices
var libraryBookImporter = new LibraryBookImporter(context);
var newCount = await Task.Run(() => libraryBookImporter.Import(importItems));
logTime("importIntoDbAsync -- post Import()");
int qtyChanges = saveChanges(context);
int qtyChanges = SaveContext(context);
logTime("importIntoDbAsync -- post SaveChanges");
// this is any changes at all to the database, not just new books
@ -211,7 +211,7 @@ namespace ApplicationServices
return newCount;
}
private static int saveChanges(LibationContext context)
public static int SaveContext(LibationContext context)
{
try
{