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);