This commit is contained in:
@@ -708,6 +708,7 @@ $BODY$;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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" ||
|
||||||
|
|||||||
Reference in New Issue
Block a user