From 7b05a63baef56ff1f330f0a17da4550f04af0129 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 9 Mar 2022 21:14:45 +0000 Subject: [PATCH] --- server/AyaNova/util/DbUtil.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/AyaNova/util/DbUtil.cs b/server/AyaNova/util/DbUtil.cs index 7f9f809f..28d3e2c2 100644 --- a/server/AyaNova/util/DbUtil.cs +++ b/server/AyaNova/util/DbUtil.cs @@ -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);