mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-13 19:12:26 +00:00
[Database] Add fallback migration for logsys columns (#2457)
This commit is contained in:
parent
6b1e3d94f8
commit
74dfc1ae3c
@ -34,7 +34,7 @@
|
|||||||
* Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
|
* Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CURRENT_BINARY_DATABASE_VERSION 9208
|
#define CURRENT_BINARY_DATABASE_VERSION 9209
|
||||||
|
|
||||||
#ifdef BOTS
|
#ifdef BOTS
|
||||||
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9029
|
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9029
|
||||||
|
|||||||
@ -462,6 +462,7 @@
|
|||||||
9206|2022_09_03_fix_door_destination_headings.sql|SELECT * FROM db_version WHERE version >= 9206|empty|
|
9206|2022_09_03_fix_door_destination_headings.sql|SELECT * FROM db_version WHERE version >= 9206|empty|
|
||||||
9207|2022_09_03_fix_zone_point_heading_data.sql|SELECT * FROM db_version WHERE version >= 9207|empty|
|
9207|2022_09_03_fix_zone_point_heading_data.sql|SELECT * FROM db_version WHERE version >= 9207|empty|
|
||||||
9208|2022_09_25_task_concat_matchlists.sql|SHOW COLUMNS FROM `task_activities` LIKE 'npc_id'|not_empty|
|
9208|2022_09_25_task_concat_matchlists.sql|SHOW COLUMNS FROM `task_activities` LIKE 'npc_id'|not_empty|
|
||||||
|
9209|2022_09_28_discord_webhooks.sql|SHOW COLUMNS FROM `logsys_categories` LIKE 'log_to_discord'|empty|
|
||||||
|
|
||||||
# Upgrade conditions:
|
# Upgrade conditions:
|
||||||
# This won't be needed after this system is implemented, but it is used database that are not
|
# This won't be needed after this system is implemented, but it is used database that are not
|
||||||
|
|||||||
4
utils/sql/git/required/2022_09_28_discord_webhooks.sql
Normal file
4
utils/sql/git/required/2022_09_28_discord_webhooks.sql
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
ALTER TABLE logsys_categories
|
||||||
|
ADD log_to_discord smallint(11) default 0 AFTER log_to_gmsay;
|
||||||
|
ALTER TABLE logsys_categories
|
||||||
|
ADD discord_webhook_id int(11) default 0 AFTER log_to_discord;
|
||||||
Loading…
x
Reference in New Issue
Block a user