This commit is contained in:
@@ -284,7 +284,7 @@ namespace AyaNova.Util
|
||||
await cmd.ExecuteNonQueryAsync();
|
||||
}
|
||||
|
||||
//Delete from users table
|
||||
//Delete users
|
||||
using (var cmd = new Npgsql.NpgsqlCommand())
|
||||
{
|
||||
cmd.Connection = conn;
|
||||
@@ -293,6 +293,9 @@ namespace AyaNova.Util
|
||||
|
||||
cmd.CommandText = "ALTER SEQUENCE auser_id_seq RESTART WITH 2;";
|
||||
await cmd.ExecuteNonQueryAsync();
|
||||
|
||||
cmd.CommandText = "delete from \"adashboardview\" where userid <> 1;";
|
||||
await cmd.ExecuteNonQueryAsync();
|
||||
}
|
||||
|
||||
//Delete non stock translations
|
||||
|
||||
Reference in New Issue
Block a user