This commit is contained in:
2020-04-28 23:19:33 +00:00
parent 9b3a0e3142
commit f6f36c8257
2 changed files with 8 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ In v8 we have expanded this feature into a full log and renamed it the [Event lo
[Tags](ay-start-form-tags.md) are a new feature for AyaNova 8 that replace and improve upon several different categorization features in v7.
The following objects from v7 have been replaced by tags in v8:
* User certification
* User skill
* Client group
* Dispatch zone
* Part category

View File

@@ -273,6 +273,9 @@ namespace AyaNova.Util
cmd.Connection = conn;
cmd.CommandText = "delete from \"auseroptions\" where UserId <> 1;";
await cmd.ExecuteNonQueryAsync();
cmd.CommandText = "ALTER SEQUENCE auseroptions_id_seq RESTART WITH 2;";
await cmd.ExecuteNonQueryAsync();
}
//Delete from users table
@@ -281,6 +284,9 @@ namespace AyaNova.Util
cmd.Connection = conn;
cmd.CommandText = "delete from \"auser\" where id <> 1;";
await cmd.ExecuteNonQueryAsync();
cmd.CommandText = "ALTER SEQUENCE auser_id_seq RESTART WITH 2;";
await cmd.ExecuteNonQueryAsync();
}
//REMOVE ALL DATA with few exceptions of manager user, license, schema tables