mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 14:01:29 +00:00
Rename table Banned_IPs to banned_ips [skip ci]
This commit is contained in:
parent
c87b4f2ad4
commit
72f4f10dbb
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#define CURRENT_BINARY_DATABASE_VERSION 9144
|
||||
#define CURRENT_BINARY_DATABASE_VERSION 9145
|
||||
|
||||
#ifdef BOTS
|
||||
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9026
|
||||
|
||||
@ -398,6 +398,7 @@
|
||||
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|
|
||||
9145|2019_12_24_banned_ips_update.sql|SHOW TABLES LIKE 'Banned_IPs'|not_empty|
|
||||
|
||||
# Upgrade conditions:
|
||||
# This won't be needed after this system is implemented, but it is used database that are not
|
||||
|
||||
5
utils/sql/git/required/2019_12_24_banned_ips_update.sql
Normal file
5
utils/sql/git/required/2019_12_24_banned_ips_update.sql
Normal file
@ -0,0 +1,5 @@
|
||||
RENAME TABLE `Banned_IPs` TO `Banned_IPs_`;
|
||||
|
||||
CREATE TABLE `banned_ips` (PRIMARY KEY (`ip_address`)) SELECT `ip_address`, `notes` FROM `Banned_IPs_`;
|
||||
|
||||
DROP TABLE IF EXISTS `Banned_IPs_`;
|
||||
Loading…
x
Reference in New Issue
Block a user