This commit is contained in:
@@ -293,7 +293,7 @@ namespace AyaNova.Util
|
||||
|
||||
//REMOVE ALL DATA with few exceptions of manager user, license, schema tables
|
||||
//and job logs because this is called by job code
|
||||
|
||||
|
||||
await EraseTableAsync("atranslationitem", conn);
|
||||
await EraseTableAsync("atranslation", conn);
|
||||
//Load the default TRANSLATIONS
|
||||
@@ -353,7 +353,7 @@ namespace AyaNova.Util
|
||||
using (var cmd = new Npgsql.NpgsqlCommand())
|
||||
{
|
||||
cmd.Connection = conn;
|
||||
cmd.CommandText = "TRUNCATE \"" + sTable + "\" RESTART IDENTITY CASCADE;";
|
||||
cmd.CommandText = "TRUNCATE \"" + sTable + "\" RESTART IDENTITY;";
|
||||
await cmd.ExecuteNonQueryAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user