1.3.7a
- Throwing more informations - Updated CounterStrikeSharp - Fixed problem with expiring bans via `css_addban` - Added metrics - Minor changes
This commit is contained in:
parent
143dc138f0
commit
3a977f688c
10 changed files with 129 additions and 85 deletions
|
|
@ -38,6 +38,11 @@ namespace CS2_SimpleAdmin
|
|||
commandSql1.CommandText = commandText;
|
||||
await commandSql1.ExecuteNonQueryAsync();
|
||||
|
||||
commandText = "ALTER TABLE `sa_bans` MODIFY `ends` TIMESTAMP NULL DEFAULT NULL;";
|
||||
using var commandSql2 = connection.CreateCommand();
|
||||
commandSql2.CommandText = commandText;
|
||||
await commandSql2.ExecuteNonQueryAsync();
|
||||
|
||||
command.ReplyToCommand($"Successfully updated the database - {ModuleVersion}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue