This commit is contained in:
2022-03-09 21:14:45 +00:00
parent 44fb621e23
commit 7b05a63bae

View File

@@ -390,7 +390,7 @@ namespace AyaNova.Util
//aglobalopsbackupsettings just keep as is which is the safe option
cmd.CommandText = "update aglobalopsnotificationsettings set smtpdeliveryactive=false, smtpserveraddress=null,smtpaccount=null,smtppassword=null,connectionsecurity=0, smtpserverport=null,notifyfromaddress=null,ayanoavserverurl=null;";
cmd.CommandText = "update aglobalopsnotificationsettings set smtpdeliveryactive=false, smtpserveraddress=null,smtpaccount=null,smtppassword=null,connectionsecurity=0, smtpserverport=null,notifyfromaddress=null,ayanovaserverurl=null;";
await cmd.ExecuteNonQueryAsync();
@@ -518,17 +518,17 @@ namespace AyaNova.Util
await EraseTableAsync("aworkorderitempriority", conn);
await EraseTableAsync("ataskgroup", conn);//items cascade
await EraseTableAsync("ametricmm", conn);
await EraseTableAsync("ametricdd", conn);
await EraseTableAsync("ametricmm", conn, true);
await EraseTableAsync("ametricdd", conn, true);
await EraseTableAsync("adashboardview", conn);
await EraseTableAsync("aopsjoblog", conn);
await EraseTableAsync("aopsjob", conn);
await EraseTableAsync("aopsjoblog", conn, true);
await EraseTableAsync("aopsjob", conn, true);
await EraseTableAsync("alogo", conn);
await EraseTableAsync("areport", conn);
await Biz.PrimeData.PrimeReportTemplates();
// await EraseTableAsync("XXXXX", conn);
// await EraseTableAsync("XXXXX", conn);