This commit is contained in:
2020-08-03 20:35:53 +00:00
parent ec8579c30d
commit 28d03a1b4d
2 changed files with 15 additions and 7 deletions

View File

@@ -708,6 +708,7 @@ $BODY$;
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!

View File

@@ -350,6 +350,13 @@ namespace AyaNova.Util
await EraseTableAsync("aworkordertemplateitem", conn); await EraseTableAsync("aworkordertemplateitem", conn);
await EraseTableAsync("aworkordertemplate", conn); await EraseTableAsync("aworkordertemplate", conn);
//----- NOTIFICATION
await EraseTableAsync("anotification", conn);
await EraseTableAsync("anotifyevent", conn);
await EraseTableAsync("anotifydeliverylog", conn);
await EraseTableAsync("anotifysubscription", conn);
await conn.CloseAsync(); await conn.CloseAsync();
} }
@@ -424,7 +431,7 @@ namespace AyaNova.Util
if (await ct.User.LongCountAsync() < 22) return false; if (await ct.User.LongCountAsync() < 22) return false;
//just check for a few for testing //just check for a few for testing
if(await ct.User.AsNoTracking() if (await ct.User.AsNoTracking()
.Where(z => .Where(z =>
z.Login == "BizAdminFull" || z.Login == "BizAdminFull" ||
z.Login == "DispatchFull" || z.Login == "DispatchFull" ||