diff --git a/server/AyaNova/util/DbUtil.cs b/server/AyaNova/util/DbUtil.cs index 17654c0c..16de92e2 100644 --- a/server/AyaNova/util/DbUtil.cs +++ b/server/AyaNova/util/DbUtil.cs @@ -326,7 +326,7 @@ namespace AyaNova.Util await EraseTableAsync("apm", conn); await EraseTableAsync("apmtemplateitem", conn); await EraseTableAsync("apmtemplate", conn); - await EraseTableAsync("aproject", conn); + await EraseTableAsync("apurchaseorder", conn); await EraseTableAsync("aquoteitem", conn); await EraseTableAsync("aquote", conn); @@ -351,6 +351,8 @@ namespace AyaNova.Util await EraseTableAsync("aworkordertemplateitem", conn); await EraseTableAsync("aworkordertemplate", conn); + await EraseTableAsync("aproject", conn);//depends on User, dependants are wo,quote,pm + //----- NOTIFICATION await EraseTableAsync("anotification", conn); await EraseTableAsync("anotifyevent", conn);