From 6b201fcbef5428401ee1e0119add990405fcd982 Mon Sep 17 00:00:00 2001 From: Uleat Date: Sat, 9 Nov 2019 19:28:21 -0500 Subject: [PATCH] One-time update to log_category_descriptions to fix naming discrepancies. Additions added after the auto-inject code (including future additions) are not affected --- common/version.h | 2 +- utils/sql/db_update_manifest.txt | 1 + .../required/2019_11_09_logsys_description_update.sql | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 utils/sql/git/required/2019_11_09_logsys_description_update.sql diff --git a/common/version.h b/common/version.h index 5cbae3bf6..bf889cc21 100644 --- a/common/version.h +++ b/common/version.h @@ -31,7 +31,7 @@ */ -#define CURRENT_BINARY_DATABASE_VERSION 9143 +#define CURRENT_BINARY_DATABASE_VERSION 9144 #ifdef BOTS #define CURRENT_BINARY_BOTS_DATABASE_VERSION 9026 diff --git a/utils/sql/db_update_manifest.txt b/utils/sql/db_update_manifest.txt index 86ed07b07..c00255a55 100644 --- a/utils/sql/db_update_manifest.txt +++ b/utils/sql/db_update_manifest.txt @@ -397,6 +397,7 @@ 9141|2019_07_10_npc_flymode.sql|SHOW COLUMNS FROM `npc_types` LIKE 'flymode'|empty| 9142|2019_09_02_required_spawn_filter.sql|SHOW COLUMNS FROM `spawnentry` LIKE 'condition_value_filter'|empty| 9143|2019_09_16_account_table_changes.sql|SHOW COLUMNS FROM `account` LIKE 'ls_id'|empty| +9144|2019_11_09_logsys_description_update.sql|SELECT * FROM `logsys_categories`|not_empty| # Upgrade conditions: # This won't be needed after this system is implemented, but it is used database that are not diff --git a/utils/sql/git/required/2019_11_09_logsys_description_update.sql b/utils/sql/git/required/2019_11_09_logsys_description_update.sql new file mode 100644 index 000000000..df6c50ce2 --- /dev/null +++ b/utils/sql/git/required/2019_11_09_logsys_description_update.sql @@ -0,0 +1,11 @@ +UPDATE `logsys_categories` SET `log_category_description` = 'Packet :: Client -> Server' WHERE `log_category_id` = '5'; +UPDATE `logsys_categories` SET `log_category_description` = 'QS Server' WHERE `log_category_id` = '19'; +UPDATE `logsys_categories` SET `log_category_description` = 'TCP Connection' WHERE `log_category_id` = '26'; +UPDATE `logsys_categories` SET `log_category_description` = 'UCS Server' WHERE `log_category_id` = '31'; +UPDATE `logsys_categories` SET `log_category_description` = 'WebInterface Server' WHERE `log_category_id` = '32'; +UPDATE `logsys_categories` SET `log_category_description` = 'World Server' WHERE `log_category_id` = '33'; +UPDATE `logsys_categories` SET `log_category_description` = 'MySQL Query' WHERE `log_category_id` = '36'; +UPDATE `logsys_categories` SET `log_category_description` = 'Packet :: Server -> Client' WHERE `log_category_id` = '39'; +UPDATE `logsys_categories` SET `log_category_description` = 'Packet :: Client -> Server Unhandled' WHERE `log_category_id` = '40'; +UPDATE `logsys_categories` SET `log_category_description` = 'Packet :: Server -> Client (Dump)' WHERE `log_category_id` = '41'; +UPDATE `logsys_categories` SET `log_category_description` = 'Packet :: Client -> Server (Dump)' WHERE `log_category_id` = '42';