Connection Logging Overhaul (#18101)

* Connection Logging Overhaul

Changes how/where the connections are logged to the database

* Add logging of admin bypass connections

* Rebase to latest master

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
Werner
2024-01-06 16:16:58 +01:00
committed by GitHub
parent 9c18c99c37
commit f68f33da5e
6 changed files with 100 additions and 10 deletions
@@ -0,0 +1,9 @@
--
-- Rework Connection Logging
--
ALTER TABLE `ss13_connection_log`
CHANGE COLUMN `ckey` `ckey` VARCHAR(32) NULL COLLATE 'utf8mb4_unicode_ci' AFTER `id`,
CHANGE COLUMN `ip` `ip` VARCHAR(18) NULL COLLATE 'utf8mb4_unicode_ci' AFTER `serverip`,
CHANGE COLUMN `computerid` `computerid` VARCHAR(32) NULL COLLATE 'utf8mb4_unicode_ci' AFTER `ip`,
ADD COLUMN `status` VARCHAR(50) NULL DEFAULT NULL AFTER `game_id`;