mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Feature] Adjust String-based Rules Length (#4138)
This commit is contained in:
parent
e6a3d5e1c5
commit
b90139bd9a
@ -5422,6 +5422,17 @@ ALTER TABLE `guild_bank`
|
|||||||
ADD COLUMN `id` INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
|
ADD COLUMN `id` INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
|
||||||
ADD PRIMARY KEY (`id`);
|
ADD PRIMARY KEY (`id`);
|
||||||
)",
|
)",
|
||||||
|
},
|
||||||
|
ManifestEntry{
|
||||||
|
.version = 9266,
|
||||||
|
.description = "2024_03_02_rule_values_rule_value_length.sql",
|
||||||
|
.check = "SHOW COLUMNS FROM `rule_values` LIKE 'rule_value'",
|
||||||
|
.condition = "contains",
|
||||||
|
.match = "varchar(30)",
|
||||||
|
.sql = R"(
|
||||||
|
ALTER TABLE `rule_values`
|
||||||
|
MODIFY COLUMN `rule_value` text CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '' AFTER `rule_name`;
|
||||||
|
)"
|
||||||
}
|
}
|
||||||
// -- template; copy/paste this when you need to create a new entry
|
// -- template; copy/paste this when you need to create a new entry
|
||||||
// ManifestEntry{
|
// ManifestEntry{
|
||||||
|
|||||||
@ -42,7 +42,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 9265
|
#define CURRENT_BINARY_DATABASE_VERSION 9266
|
||||||
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9043
|
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9043
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user