mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
fix: remove unnecessary migration
This commit is contained in:
parent
d4340d69cf
commit
cab74dcb0c
1 changed files with 0 additions and 8 deletions
|
|
@ -39,14 +39,6 @@ namespace CS2_SimpleAdmin
|
||||||
commandSql2.CommandText = commandText2;
|
commandSql2.CommandText = commandText2;
|
||||||
await commandSql2.ExecuteNonQueryAsync();
|
await commandSql2.ExecuteNonQueryAsync();
|
||||||
|
|
||||||
var commandText3 = "CREATE TABLE IF NOT EXISTS `sa_server_groups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_name` varchar(128) NOT NULL, PRIMARY KEY(`id`) ) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;`";
|
|
||||||
|
|
||||||
using var commandSql3 = connection.CreateCommand();
|
|
||||||
commandSql3.CommandText = commandText3;
|
|
||||||
await commandSql3.ExecuteNonQueryAsync();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Server.NextFrame(() =>
|
Server.NextFrame(() =>
|
||||||
{
|
{
|
||||||
command.ReplyToCommand($"Successfully updated the database - {ModuleVersion}");
|
command.ReplyToCommand($"Successfully updated the database - {ModuleVersion}");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue