Fix column cases to make people happy

If you already sourced, too fucking bad.
This commit is contained in:
Michael Cook (mackal) 2018-09-08 00:09:14 -04:00
parent 4276bf3208
commit 00e44285a7
3 changed files with 8 additions and 8 deletions

View File

@ -379,7 +379,7 @@
9123|2018_07_07_data_buckets.sql|SHOW TABLES LIKE 'data_buckets'|empty| 9123|2018_07_07_data_buckets.sql|SHOW TABLES LIKE 'data_buckets'|empty|
9124|2018_07_09_tasks.sql|SHOW COLUMNS FROM `tasks` LIKE 'type'|empty| 9124|2018_07_09_tasks.sql|SHOW COLUMNS FROM `tasks` LIKE 'type'|empty|
9125|2018_07_20_task_emote.sql|SHOW COLUMNS FROM `tasks` LIKE 'completion_emote'|empty| 9125|2018_07_20_task_emote.sql|SHOW COLUMNS FROM `tasks` LIKE 'completion_emote'|empty|
9126|2018_09_07_FastRegen.sql|SHOW COLUMNS FROM `zone` LIKE 'FastRegenHP'|empty| 9126|2018_09_07_FastRegen.sql|SHOW COLUMNS FROM `zone` LIKE 'fast_regen_hp'|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

View File

@ -1,3 +1,3 @@
ALTER TABLE `zone` ADD `FastRegenHP` INT NOT NULL DEFAULT '180'; ALTER TABLE `zone` ADD `fast_regen_hp` INT NOT NULL DEFAULT '180';
ALTER TABLE `zone` ADD `FastRegenMana` INT NOT NULL DEFAULT '180'; ALTER TABLE `zone` ADD `fast_regen_mana` INT NOT NULL DEFAULT '180';
ALTER TABLE `zone` ADD `FastRegenEndurance` INT NOT NULL DEFAULT '180'; ALTER TABLE `zone` ADD `fast_regen_endurance` INT NOT NULL DEFAULT '180';

View File

@ -144,9 +144,9 @@ bool ZoneDatabase::GetZoneCFG(uint32 zoneid, uint16 instance_id, NewZone_Struct
"snow_duration3, " // 54 "snow_duration3, " // 54
"snow_duration4, " // 55 "snow_duration4, " // 55
"gravity, " // 56 "gravity, " // 56
"FastRegenHP, " // 57 "fast_regen_hp, " // 57
"FastRegenMana, " // 58 "fast_regen_mana, " // 58
"FastRegenEndurance " // 59 "fast_regen_endurance " // 59
"FROM zone WHERE zoneidnumber = %i AND version = %i", "FROM zone WHERE zoneidnumber = %i AND version = %i",
zoneid, instance_id); zoneid, instance_id);
auto results = QueryDatabase(query); auto results = QueryDatabase(query);