Saves the client version connecting to the server (#4273)

Saves the byond version and build of the client connecting to the server to the database.
This commit is contained in:
Werner
2018-02-19 18:36:17 +01:00
committed by Erki
parent 475519c539
commit 089cc9de0c
2 changed files with 24 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
--
-- Logs the byond version and byond build in the player table and the connection log.
--
ALTER TABLE `ss13_player`
ADD COLUMN `byond_version` INT(10) NULL DEFAULT NULL AFTER `computerid`;
ALTER TABLE `ss13_player`
ADD COLUMN `byond_build` INT(10) NULL DEFAULT NULL AFTER `byond_version`;
ALTER TABLE `ss13_connection_log`
ADD COLUMN `byond_version` INT(10) NULL DEFAULT NULL AFTER `computerid`;
ALTER TABLE `ss13_connection_log`
ADD COLUMN `byond_build` INT(10) NULL DEFAULT NULL AFTER `byond_version`;