This commit is contained in:
@@ -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.
|
[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:
|
The following objects from v7 have been replaced by tags in v8:
|
||||||
|
* User certification
|
||||||
|
* User skill
|
||||||
* Client group
|
* Client group
|
||||||
* Dispatch zone
|
* Dispatch zone
|
||||||
* Part category
|
* Part category
|
||||||
|
|||||||
@@ -273,6 +273,9 @@ namespace AyaNova.Util
|
|||||||
cmd.Connection = conn;
|
cmd.Connection = conn;
|
||||||
cmd.CommandText = "delete from \"auseroptions\" where UserId <> 1;";
|
cmd.CommandText = "delete from \"auseroptions\" where UserId <> 1;";
|
||||||
await cmd.ExecuteNonQueryAsync();
|
await cmd.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
|
cmd.CommandText = "ALTER SEQUENCE auseroptions_id_seq RESTART WITH 2;";
|
||||||
|
await cmd.ExecuteNonQueryAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Delete from users table
|
//Delete from users table
|
||||||
@@ -281,6 +284,9 @@ namespace AyaNova.Util
|
|||||||
cmd.Connection = conn;
|
cmd.Connection = conn;
|
||||||
cmd.CommandText = "delete from \"auser\" where id <> 1;";
|
cmd.CommandText = "delete from \"auser\" where id <> 1;";
|
||||||
await cmd.ExecuteNonQueryAsync();
|
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
|
//REMOVE ALL DATA with few exceptions of manager user, license, schema tables
|
||||||
|
|||||||
Reference in New Issue
Block a user