summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/sql/base/db_auth/account.sql22
-rw-r--r--data/sql/base/db_auth/account_access.sql10
-rw-r--r--data/sql/base/db_auth/account_banned.sql12
-rw-r--r--data/sql/base/db_auth/account_muted.sql8
-rw-r--r--data/sql/base/db_auth/autobroadcast.sql10
-rw-r--r--data/sql/base/db_auth/ip2nation.sql6
-rw-r--r--data/sql/base/db_auth/ip2nationCountries.sql4
-rw-r--r--data/sql/base/db_auth/ip_banned.sql8
-rw-r--r--data/sql/base/db_auth/logs.sql10
-rw-r--r--data/sql/base/db_auth/logs_ip_actions.sql14
-rw-r--r--data/sql/base/db_auth/realmcharacters.sql10
-rw-r--r--data/sql/base/db_auth/realmlist.sql21
-rw-r--r--data/sql/base/db_auth/uptime.sql12
-rw-r--r--data/sql/base/db_auth/version_db_auth.sql4
-rw-r--r--data/sql/base/db_characters/account_data.sql10
-rw-r--r--data/sql/base/db_characters/account_instance_times.sql10
-rw-r--r--data/sql/base/db_characters/account_tutorial.sql22
-rw-r--r--data/sql/base/db_characters/addons.sql6
-rw-r--r--data/sql/base/db_characters/arena_team.sql32
-rw-r--r--data/sql/base/db_characters/arena_team_member.sql18
-rw-r--r--data/sql/base/db_characters/auctionhouse.sql24
-rw-r--r--data/sql/base/db_characters/banned_addons.sql6
-rw-r--r--data/sql/base/db_characters/battleground_deserters.sql6
-rw-r--r--data/sql/base/db_characters/bugreport.sql6
-rw-r--r--data/sql/base/db_characters/calendar_events.sql18
-rw-r--r--data/sql/base/db_characters/calendar_invites.sql18
-rw-r--r--data/sql/base/db_characters/channels.sql14
-rw-r--r--data/sql/base/db_characters/channels_bans.sql10
-rw-r--r--data/sql/base/db_characters/channels_rights.sql8
-rw-r--r--data/sql/base/db_characters/character_account_data.sql10
-rw-r--r--data/sql/base/db_characters/character_achievement.sql10
-rw-r--r--data/sql/base/db_characters/character_achievement_progress.sql12
-rw-r--r--data/sql/base/db_characters/character_action.sql14
-rw-r--r--data/sql/base/db_characters/character_arena_stats.sql12
-rw-r--r--data/sql/base/db_characters/character_aura.sql36
-rw-r--r--data/sql/base/db_characters/character_banned.sql12
-rw-r--r--data/sql/base/db_characters/character_battleground_random.sql6
-rw-r--r--data/sql/base/db_characters/character_brew_of_the_month.sql8
-rw-r--r--data/sql/base/db_characters/character_declinedname.sql6
-rw-r--r--data/sql/base/db_characters/character_entry_point.sql10
-rw-r--r--data/sql/base/db_characters/character_equipmentsets.sql50
-rw-r--r--data/sql/base/db_characters/character_gifts.sql12
-rw-r--r--data/sql/base/db_characters/character_glyphs.sql20
-rw-r--r--data/sql/base/db_characters/character_homebind.sql10
-rw-r--r--data/sql/base/db_characters/character_instance.sql12
-rw-r--r--data/sql/base/db_characters/character_inventory.sql12
-rw-r--r--data/sql/base/db_characters/character_pet.sql34
-rw-r--r--data/sql/base/db_characters/character_pet_declinedname.sql8
-rw-r--r--data/sql/base/db_characters/character_queststatus.sql36
-rw-r--r--data/sql/base/db_characters/character_queststatus_daily.sql10
-rw-r--r--data/sql/base/db_characters/character_queststatus_monthly.sql8
-rw-r--r--data/sql/base/db_characters/character_queststatus_rewarded.sql10
-rw-r--r--data/sql/base/db_characters/character_queststatus_seasonal.sql10
-rw-r--r--data/sql/base/db_characters/character_queststatus_weekly.sql8
-rw-r--r--data/sql/base/db_characters/character_reputation.sql12
-rw-r--r--data/sql/base/db_characters/character_skills.sql12
-rw-r--r--data/sql/base/db_characters/character_social.sql10
-rw-r--r--data/sql/base/db_characters/character_spell.sql10
-rw-r--r--data/sql/base/db_characters/character_spell_cooldown.sql14
-rw-r--r--data/sql/base/db_characters/character_stats.sql67
-rw-r--r--data/sql/base/db_characters/character_talent.sql10
-rw-r--r--data/sql/base/db_characters/characters.sql126
-rw-r--r--data/sql/base/db_characters/corpse.sql30
-rw-r--r--data/sql/base/db_characters/creature_respawn.sql12
-rw-r--r--data/sql/base/db_characters/game_event_condition_save.sql8
-rw-r--r--data/sql/base/db_characters/game_event_save.sql10
-rw-r--r--data/sql/base/db_characters/gameobject_respawn.sql12
-rw-r--r--data/sql/base/db_characters/gm_subsurvey.sql10
-rw-r--r--data/sql/base/db_characters/gm_survey.sql14
-rw-r--r--data/sql/base/db_characters/gm_ticket.sql30
-rw-r--r--data/sql/base/db_characters/group_member.sql14
-rw-r--r--data/sql/base/db_characters/groups.sql38
-rw-r--r--data/sql/base/db_characters/guild.sql22
-rw-r--r--data/sql/base/db_characters/guild_bank_eventlog.sql22
-rw-r--r--data/sql/base/db_characters/guild_bank_item.sql12
-rw-r--r--data/sql/base/db_characters/guild_bank_right.sql14
-rw-r--r--data/sql/base/db_characters/guild_bank_tab.sql8
-rw-r--r--data/sql/base/db_characters/guild_eventlog.sql18
-rw-r--r--data/sql/base/db_characters/guild_member.sql10
-rw-r--r--data/sql/base/db_characters/guild_member_withdraw.sql20
-rw-r--r--data/sql/base/db_characters/guild_rank.sql12
-rw-r--r--data/sql/base/db_characters/instance.sql14
-rw-r--r--data/sql/base/db_characters/instance_reset.sql10
-rw-r--r--data/sql/base/db_characters/item_instance.sql26
-rw-r--r--data/sql/base/db_characters/item_loot_storage.sql14
-rw-r--r--data/sql/base/db_characters/item_refund_instance.sql12
-rw-r--r--data/sql/base/db_characters/item_soulbound_trade_data.sql6
-rw-r--r--data/sql/base/db_characters/lag_reports.sql16
-rw-r--r--data/sql/base/db_characters/lfg_data.sql10
-rw-r--r--data/sql/base/db_characters/log_arena_fights.sql28
-rw-r--r--data/sql/base/db_characters/log_arena_memberstats.sql20
-rw-r--r--data/sql/base/db_characters/log_encounter.sql12
-rw-r--r--data/sql/base/db_characters/log_money.sql18
-rw-r--r--data/sql/base/db_characters/mail.sql28
-rw-r--r--data/sql/base/db_characters/mail_items.sql10
-rw-r--r--data/sql/base/db_characters/pet_aura.sql34
-rw-r--r--data/sql/base/db_characters/pet_spell.sql10
-rw-r--r--data/sql/base/db_characters/pet_spell_cooldown.sql10
-rw-r--r--data/sql/base/db_characters/petition.sql10
-rw-r--r--data/sql/base/db_characters/petition_sign.sql14
-rw-r--r--data/sql/base/db_characters/pool_quest_save.sql8
-rw-r--r--data/sql/base/db_characters/pvpstats_battlegrounds.sql10
-rw-r--r--data/sql/base/db_characters/pvpstats_players.sql28
-rw-r--r--data/sql/base/db_characters/quest_tracker.sql8
-rw-r--r--data/sql/base/db_characters/recovery_item.sql10
-rw-r--r--data/sql/base/db_characters/reserved_name.sql4
-rw-r--r--data/sql/base/db_characters/version_db_characters.sql4
-rw-r--r--data/sql/base/db_characters/warden_action.sql8
-rw-r--r--data/sql/base/db_characters/worldstates.sql8
-rw-r--r--data/sql/base/db_world/access_requirement.sql24
-rw-r--r--data/sql/base/db_world/achievement_category_dbc.sql12
-rw-r--r--data/sql/base/db_world/achievement_criteria_data.sql12
-rw-r--r--data/sql/base/db_world/achievement_criteria_dbc.sql34
-rw-r--r--data/sql/base/db_world/achievement_dbc.sql32
-rw-r--r--data/sql/base/db_world/achievement_reward.sql16
-rw-r--r--data/sql/base/db_world/achievement_reward_locale.sql6
-rw-r--r--data/sql/base/db_world/acore_string.sql6
-rw-r--r--data/sql/base/db_world/areagroup_dbc.sql20
-rw-r--r--data/sql/base/db_world/areapoi_dbc.sql42
-rw-r--r--data/sql/base/db_world/areatable_dbc.sql40
-rw-r--r--data/sql/base/db_world/areatrigger.sql6
-rw-r--r--data/sql/base/db_world/areatrigger_involvedrelation.sql8
-rw-r--r--data/sql/base/db_world/areatrigger_scripts.sql6
-rw-r--r--data/sql/base/db_world/areatrigger_tavern.sql6
-rw-r--r--data/sql/base/db_world/areatrigger_teleport.sql8
-rw-r--r--data/sql/base/db_world/auctionhouse_dbc.sql14
-rw-r--r--data/sql/base/db_world/bankbagslotprices_dbc.sql8
-rw-r--r--data/sql/base/db_world/barbershopstyle_dbc.sql18
-rw-r--r--data/sql/base/db_world/battleground_template.sql20
-rw-r--r--data/sql/base/db_world/battlemaster_entry.sql8
-rw-r--r--data/sql/base/db_world/battlemasterlist_dbc.sql36
-rw-r--r--data/sql/base/db_world/broadcast_text.sql28
-rw-r--r--data/sql/base/db_world/broadcast_text_locale.sql8
-rw-r--r--data/sql/base/db_world/charstartoutfit_dbc.sql158
-rw-r--r--data/sql/base/db_world/chartitles_dbc.sql14
-rw-r--r--data/sql/base/db_world/chatchannels_dbc.sql14
-rw-r--r--data/sql/base/db_world/chrclasses_dbc.sql26
-rw-r--r--data/sql/base/db_world/chrraces_dbc.sql36
-rw-r--r--data/sql/base/db_world/cinematiccamera_dbc.sql8
-rw-r--r--data/sql/base/db_world/cinematicsequences_dbc.sql24
-rw-r--r--data/sql/base/db_world/command.sql6
-rw-r--r--data/sql/base/db_world/conditions.sql30
-rw-r--r--data/sql/base/db_world/creature.sql40
-rw-r--r--data/sql/base/db_world/creature_addon.sql18
-rw-r--r--data/sql/base/db_world/creature_classlevelstats.sql22
-rw-r--r--data/sql/base/db_world/creature_equip_template.sql16
-rw-r--r--data/sql/base/db_world/creature_formations.sql19
-rw-r--r--data/sql/base/db_world/creature_loot_template.sql20
-rw-r--r--data/sql/base/db_world/creature_model_info.sql10
-rw-r--r--data/sql/base/db_world/creature_onkill_reputation.sql24
-rw-r--r--data/sql/base/db_world/creature_questender.sql8
-rw-r--r--data/sql/base/db_world/creature_questitem.sql12
-rw-r--r--data/sql/base/db_world/creature_queststarter.sql8
-rw-r--r--data/sql/base/db_world/creature_summon_groups.sql16
-rw-r--r--data/sql/base/db_world/creature_template.sql128
-rw-r--r--data/sql/base/db_world/creature_template_addon.sql18
-rw-r--r--data/sql/base/db_world/creature_template_locale.sql8
-rw-r--r--data/sql/base/db_world/creature_text.sql27
-rw-r--r--data/sql/base/db_world/creature_text_locale.sql10
-rw-r--r--data/sql/base/db_world/creaturedisplayinfo_dbc.sql26
-rw-r--r--data/sql/base/db_world/creaturefamily_dbc.sql22
-rw-r--r--data/sql/base/db_world/creaturemodeldata_dbc.sql22
-rw-r--r--data/sql/base/db_world/creaturespelldata_dbc.sql22
-rw-r--r--data/sql/base/db_world/creaturetype_dbc.sql10
-rw-r--r--data/sql/base/db_world/currencytypes_dbc.sql12
-rw-r--r--data/sql/base/db_world/destructiblemodeldata_dbc.sql42
-rw-r--r--data/sql/base/db_world/disables.sql10
-rw-r--r--data/sql/base/db_world/disenchant_loot_template.sql20
-rw-r--r--data/sql/base/db_world/dungeonencounter_dbc.sql18
-rw-r--r--data/sql/base/db_world/durabilitycosts_dbc.sql64
-rw-r--r--data/sql/base/db_world/durabilityquality_dbc.sql6
-rw-r--r--data/sql/base/db_world/emotes_dbc.sql16
-rw-r--r--data/sql/base/db_world/emotestext_dbc.sql40
-rw-r--r--data/sql/base/db_world/event_scripts.sql16
-rw-r--r--data/sql/base/db_world/exploration_basexp.sql8
-rw-r--r--data/sql/base/db_world/faction_dbc.sql50
-rw-r--r--data/sql/base/db_world/factiontemplate_dbc.sql32
-rw-r--r--data/sql/base/db_world/fishing_loot_template.sql20
-rw-r--r--data/sql/base/db_world/game_event.sql18
-rw-r--r--data/sql/base/db_world/game_event_arena_seasons.sql8
-rw-r--r--data/sql/base/db_world/game_event_battleground_holiday.sql8
-rw-r--r--data/sql/base/db_world/game_event_condition.sql12
-rw-r--r--data/sql/base/db_world/game_event_creature.sql8
-rw-r--r--data/sql/base/db_world/game_event_creature_quest.sql10
-rw-r--r--data/sql/base/db_world/game_event_gameobject.sql8
-rw-r--r--data/sql/base/db_world/game_event_gameobject_quest.sql10
-rw-r--r--data/sql/base/db_world/game_event_model_equip.sql12
-rw-r--r--data/sql/base/db_world/game_event_npc_vendor.sql18
-rw-r--r--data/sql/base/db_world/game_event_npcflag.sql10
-rw-r--r--data/sql/base/db_world/game_event_pool.sql8
-rw-r--r--data/sql/base/db_world/game_event_prerequisite.sql8
-rw-r--r--data/sql/base/db_world/game_event_quest_condition.sql10
-rw-r--r--data/sql/base/db_world/game_event_seasonal_questrelation.sql8
-rw-r--r--data/sql/base/db_world/game_graveyard.sql8
-rw-r--r--data/sql/base/db_world/game_tele.sql8
-rw-r--r--data/sql/base/db_world/game_weather.sql30
-rw-r--r--data/sql/base/db_world/gameobject.sql26
-rw-r--r--data/sql/base/db_world/gameobject_addon.sql10
-rw-r--r--data/sql/base/db_world/gameobject_loot_template.sql20
-rw-r--r--data/sql/base/db_world/gameobject_questender.sql8
-rw-r--r--data/sql/base/db_world/gameobject_questitem.sql12
-rw-r--r--data/sql/base/db_world/gameobject_queststarter.sql8
-rw-r--r--data/sql/base/db_world/gameobject_template.sql60
-rw-r--r--data/sql/base/db_world/gameobject_template_addon.sql14
-rw-r--r--data/sql/base/db_world/gameobject_template_locale.sql8
-rw-r--r--data/sql/base/db_world/gameobjectdisplayinfo_dbc.sql28
-rw-r--r--data/sql/base/db_world/gemproperties_dbc.sql14
-rw-r--r--data/sql/base/db_world/glyphproperties_dbc.sql12
-rw-r--r--data/sql/base/db_world/glyphslot_dbc.sql10
-rw-r--r--data/sql/base/db_world/gossip_menu.sql8
-rw-r--r--data/sql/base/db_world/gossip_menu_option.sql28
-rw-r--r--data/sql/base/db_world/gossip_menu_option_locale.sql8
-rw-r--r--data/sql/base/db_world/graveyard_zone.sql10
-rw-r--r--data/sql/base/db_world/gtbarbershopcostbase_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtchancetomeleecrit_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtchancetomeleecritbase_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtchancetospellcrit_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtchancetospellcritbase_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtcombatratings_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtnpcmanacostscaler_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtoctclasscombatratingscalar_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtoctregenhp_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtregenhpperspt_dbc.sql6
-rw-r--r--data/sql/base/db_world/gtregenmpperspt_dbc.sql6
-rw-r--r--data/sql/base/db_world/holiday_dates.sql10
-rw-r--r--data/sql/base/db_world/holidays_dbc.sql112
-rw-r--r--data/sql/base/db_world/instance_encounters.sql12
-rw-r--r--data/sql/base/db_world/instance_template.sql10
-rw-r--r--data/sql/base/db_world/item_enchantment_template.sql11
-rw-r--r--data/sql/base/db_world/item_loot_template.sql20
-rw-r--r--data/sql/base/db_world/item_set_names.sql10
-rw-r--r--data/sql/base/db_world/item_set_names_locale.sql8
-rw-r--r--data/sql/base/db_world/item_template.sql254
-rw-r--r--data/sql/base/db_world/item_template_locale.sql8
-rw-r--r--data/sql/base/db_world/itembagfamily_dbc.sql8
-rw-r--r--data/sql/base/db_world/itemdisplayinfo_dbc.sql26
-rw-r--r--data/sql/base/db_world/itemextendedcost_dbc.sql36
-rw-r--r--data/sql/base/db_world/itemlimitcategory_dbc.sql12
-rw-r--r--data/sql/base/db_world/itemrandomproperties_dbc.sql18
-rw-r--r--data/sql/base/db_world/itemrandomsuffix_dbc.sql28
-rw-r--r--data/sql/base/db_world/itemset_dbc.sql78
-rw-r--r--data/sql/base/db_world/lfg_dungeon_rewards.sql12
-rw-r--r--data/sql/base/db_world/lfg_dungeon_template.sql8
-rw-r--r--data/sql/base/db_world/lfgdungeons_dbc.sql36
-rw-r--r--data/sql/base/db_world/light_dbc.sql24
-rw-r--r--data/sql/base/db_world/linked_respawn.sql10
-rw-r--r--data/sql/base/db_world/liquidtype_dbc.sql34
-rw-r--r--data/sql/base/db_world/lock_dbc.sql70
-rw-r--r--data/sql/base/db_world/mail_level_reward.sql12
-rw-r--r--data/sql/base/db_world/mail_loot_template.sql20
-rw-r--r--data/sql/base/db_world/mailtemplate_dbc.sql10
-rw-r--r--data/sql/base/db_world/map_dbc.sql92
-rw-r--r--data/sql/base/db_world/mapdifficulty_dbc.sql16
-rw-r--r--data/sql/base/db_world/milling_loot_template.sql20
-rw-r--r--data/sql/base/db_world/movie_dbc.sql8
-rw-r--r--data/sql/base/db_world/npc_spellclick_spells.sql12
-rw-r--r--data/sql/base/db_world/npc_text.sql136
-rw-r--r--data/sql/base/db_world/npc_text_locale.sql6
-rw-r--r--data/sql/base/db_world/npc_trainer.sql16
-rw-r--r--data/sql/base/db_world/npc_vendor.sql18
-rw-r--r--data/sql/base/db_world/outdoorpvp_template.sql6
-rw-r--r--data/sql/base/db_world/overridespelldata_dbc.sql28
-rw-r--r--data/sql/base/db_world/page_text.sql10
-rw-r--r--data/sql/base/db_world/page_text_locale.sql8
-rw-r--r--data/sql/base/db_world/pet_levelstats.sql28
-rw-r--r--data/sql/base/db_world/pet_name_generation.sql10
-rw-r--r--data/sql/base/db_world/pickpocketing_loot_template.sql20
-rw-r--r--data/sql/base/db_world/player_classlevelstats.sql12
-rw-r--r--data/sql/base/db_world/player_factionchange_achievement.sql8
-rw-r--r--data/sql/base/db_world/player_factionchange_items.sql12
-rw-r--r--data/sql/base/db_world/player_factionchange_quests.sql8
-rw-r--r--data/sql/base/db_world/player_factionchange_reputations.sql8
-rw-r--r--data/sql/base/db_world/player_factionchange_spells.sql8
-rw-r--r--data/sql/base/db_world/player_factionchange_titles.sql8
-rw-r--r--data/sql/base/db_world/player_levelstats.sql20
-rw-r--r--data/sql/base/db_world/player_xp_for_level.sql8
-rw-r--r--data/sql/base/db_world/playercreateinfo.sql12
-rw-r--r--data/sql/base/db_world/playercreateinfo_action.sql14
-rw-r--r--data/sql/base/db_world/playercreateinfo_item.sql12
-rw-r--r--data/sql/base/db_world/playercreateinfo_spell.sql10
-rw-r--r--data/sql/base/db_world/playercreateinfo_spell_custom.sql10
-rw-r--r--data/sql/base/db_world/points_of_interest.sql12
-rw-r--r--data/sql/base/db_world/points_of_interest_locale.sql8
-rw-r--r--data/sql/base/db_world/pool_creature.sql11
-rw-r--r--data/sql/base/db_world/pool_gameobject.sql11
-rw-r--r--data/sql/base/db_world/pool_pool.sql8
-rw-r--r--data/sql/base/db_world/pool_quest.sql8
-rw-r--r--data/sql/base/db_world/pool_template.sql8
-rw-r--r--data/sql/base/db_world/powerdisplay_dbc.sql14
-rw-r--r--data/sql/base/db_world/prospecting_loot_template.sql20
-rw-r--r--data/sql/base/db_world/pvpdifficulty_dbc.sql16
-rw-r--r--data/sql/base/db_world/quest_details.sql24
-rw-r--r--data/sql/base/db_world/quest_mail_sender.sql8
-rw-r--r--data/sql/base/db_world/quest_offer_reward.sql24
-rw-r--r--data/sql/base/db_world/quest_offer_reward_locale.sql8
-rw-r--r--data/sql/base/db_world/quest_poi.sql22
-rw-r--r--data/sql/base/db_world/quest_poi_points.sql16
-rw-r--r--data/sql/base/db_world/quest_request_items.sql12
-rw-r--r--data/sql/base/db_world/quest_request_items_locale.sql8
-rw-r--r--data/sql/base/db_world/quest_template.sql190
-rw-r--r--data/sql/base/db_world/quest_template_addon.sql38
-rw-r--r--data/sql/base/db_world/quest_template_locale.sql8
-rw-r--r--data/sql/base/db_world/questfactionreward_dbc.sql26
-rw-r--r--data/sql/base/db_world/questsort_dbc.sql8
-rw-r--r--data/sql/base/db_world/questxp_dbc.sql26
-rw-r--r--data/sql/base/db_world/randproppoints_dbc.sql36
-rw-r--r--data/sql/base/db_world/reference_loot_template.sql20
-rw-r--r--data/sql/base/db_world/reputation_reward_rate.sql6
-rw-r--r--data/sql/base/db_world/reputation_spillover_template.sql22
-rw-r--r--data/sql/base/db_world/scalingstatdistribution_dbc.sql48
-rw-r--r--data/sql/base/db_world/scalingstatvalues_dbc.sql52
-rw-r--r--data/sql/base/db_world/script_waypoint.sql10
-rw-r--r--data/sql/base/db_world/skill_discovery_template.sql10
-rw-r--r--data/sql/base/db_world/skill_extra_item_template.sql10
-rw-r--r--data/sql/base/db_world/skill_fishing_base_level.sql8
-rw-r--r--data/sql/base/db_world/skill_perfect_item_template.sql10
-rw-r--r--data/sql/base/db_world/skillline_dbc.sql20
-rw-r--r--data/sql/base/db_world/skilllineability_dbc.sql30
-rw-r--r--data/sql/base/db_world/skinning_loot_template.sql20
-rw-r--r--data/sql/base/db_world/smart_scripts.sql56
-rw-r--r--data/sql/base/db_world/soundentries_dbc.sql34
-rw-r--r--data/sql/base/db_world/spell_area.sql24
-rw-r--r--data/sql/base/db_world/spell_bonus_data.sql6
-rw-r--r--data/sql/base/db_world/spell_custom_attr.sql8
-rw-r--r--data/sql/base/db_world/spell_dbc.sql312
-rw-r--r--data/sql/base/db_world/spell_enchant_proc_data.sql13
-rw-r--r--data/sql/base/db_world/spell_group.sql10
-rw-r--r--data/sql/base/db_world/spell_group_stack_rules.sql8
-rw-r--r--data/sql/base/db_world/spell_linked_spell.sql10
-rw-r--r--data/sql/base/db_world/spell_loot_template.sql20
-rw-r--r--data/sql/base/db_world/spell_mixology.sql6
-rw-r--r--data/sql/base/db_world/spell_pet_auras.sql12
-rw-r--r--data/sql/base/db_world/spell_proc.sql35
-rw-r--r--data/sql/base/db_world/spell_proc_event.sql22
-rw-r--r--data/sql/base/db_world/spell_ranks.sql10
-rw-r--r--data/sql/base/db_world/spell_required.sql8
-rw-r--r--data/sql/base/db_world/spell_script_names.sql6
-rw-r--r--data/sql/base/db_world/spell_scripts.sql18
-rw-r--r--data/sql/base/db_world/spell_target_position.sql12
-rw-r--r--data/sql/base/db_world/spell_threat.sql8
-rw-r--r--data/sql/base/db_world/spellcasttimes_dbc.sql12
-rw-r--r--data/sql/base/db_world/spellcategory_dbc.sql8
-rw-r--r--data/sql/base/db_world/spelldifficulty_dbc.sql14
-rw-r--r--data/sql/base/db_world/spellduration_dbc.sql12
-rw-r--r--data/sql/base/db_world/spellfocusobject_dbc.sql8
-rw-r--r--data/sql/base/db_world/spellitemenchantment_dbc.sql48
-rw-r--r--data/sql/base/db_world/spellitemenchantmentcondition_dbc.sql66
-rw-r--r--data/sql/base/db_world/spellradius_dbc.sql6
-rw-r--r--data/sql/base/db_world/spellrange_dbc.sql12
-rw-r--r--data/sql/base/db_world/spellrunecost_dbc.sql14
-rw-r--r--data/sql/base/db_world/spellshapeshiftform_dbc.sql42
-rw-r--r--data/sql/base/db_world/stableslotprices_dbc.sql8
-rw-r--r--data/sql/base/db_world/summonproperties_dbc.sql16
-rw-r--r--data/sql/base/db_world/talent_dbc.sql50
-rw-r--r--data/sql/base/db_world/talenttab_dbc.sql18
-rw-r--r--data/sql/base/db_world/taxinodes_dbc.sql14
-rw-r--r--data/sql/base/db_world/taxipath_dbc.sql12
-rw-r--r--data/sql/base/db_world/taxipathnode_dbc.sql20
-rw-r--r--data/sql/base/db_world/teamcontributionpoints_dbc.sql6
-rw-r--r--data/sql/base/db_world/totemcategory_dbc.sql12
-rw-r--r--data/sql/base/db_world/transportanimation_dbc.sql12
-rw-r--r--data/sql/base/db_world/transportrotation_dbc.sql10
-rw-r--r--data/sql/base/db_world/transports.sql8
-rw-r--r--data/sql/base/db_world/vehicle_accessory.sql16
-rw-r--r--data/sql/base/db_world/vehicle_dbc.sql34
-rw-r--r--data/sql/base/db_world/vehicle_template_accessory.sql16
-rw-r--r--data/sql/base/db_world/vehicleseat_dbc.sql52
-rw-r--r--data/sql/base/db_world/version.sql6
-rw-r--r--data/sql/base/db_world/version_db_world.sql4
-rw-r--r--data/sql/base/db_world/warden_checks.sql12
-rw-r--r--data/sql/base/db_world/waypoint_data.sql18
-rw-r--r--data/sql/base/db_world/waypoint_scripts.sql18
-rw-r--r--data/sql/base/db_world/waypoints.sql8
-rw-r--r--data/sql/base/db_world/wmoareatable_dbc.sql28
-rw-r--r--data/sql/base/db_world/worldmaparea_dbc.sql16
-rw-r--r--data/sql/base/db_world/worldmapoverlay_dbc.sql36
-rw-r--r--data/sql/create/create_mysql.sql6
-rw-r--r--data/sql/updates/db_auth/2021_03_23_00.sql2
-rw-r--r--data/sql/updates/db_world/2021_02_03_02.sql2
379 files changed, 3757 insertions, 3748 deletions
diff --git a/data/sql/base/db_auth/account.sql b/data/sql/base/db_auth/account.sql
index 28d12fedc8..3d7ab68d18 100644
--- a/data/sql/base/db_auth/account.sql
+++ b/data/sql/base/db_auth/account.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account`
(
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
+ `id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`username` varchar(32) NOT NULL DEFAULT '',
`sha_pass_hash` varchar(40) NOT NULL DEFAULT '',
`sessionkey` varchar(80) NOT NULL DEFAULT '',
@@ -21,22 +21,22 @@ CREATE TABLE `account`
`joindate` timestamp NOT NULL DEFAULT current_timestamp(),
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`last_attempt_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
- `failed_logins` int(10) unsigned NOT NULL DEFAULT 0,
- `locked` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `failed_logins` INT unsigned NOT NULL DEFAULT 0,
+ `locked` TINYINT unsigned NOT NULL DEFAULT 0,
`lock_country` varchar(2) NOT NULL DEFAULT '00',
`last_login` timestamp NULL DEFAULT NULL,
- `online` int(10) unsigned NOT NULL DEFAULT 0,
- `expansion` tinyint(3) unsigned NOT NULL DEFAULT 2,
- `mutetime` bigint(20) NOT NULL DEFAULT 0,
+ `online` INT unsigned NOT NULL DEFAULT 0,
+ `expansion` TINYINT unsigned NOT NULL DEFAULT 2,
+ `mutetime` BIGINT NOT NULL DEFAULT 0,
`mutereason` varchar(255) NOT NULL DEFAULT '',
`muteby` varchar(50) NOT NULL DEFAULT '',
- `locale` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `locale` TINYINT unsigned NOT NULL DEFAULT 0,
`os` varchar(3) NOT NULL DEFAULT '',
- `recruiter` int(10) unsigned NOT NULL DEFAULT 0,
- `totaltime` int(10) unsigned NOT NULL DEFAULT 0,
+ `recruiter` INT unsigned NOT NULL DEFAULT 0,
+ `totaltime` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `idx_username` (`username`)
-) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Account System';
+) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=UTF8MB4 COMMENT='Account System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account` WRITE;
diff --git a/data/sql/base/db_auth/account_access.sql b/data/sql/base/db_auth/account_access.sql
index df0bebc46d..60dd5387e0 100644
--- a/data/sql/base/db_auth/account_access.sql
+++ b/data/sql/base/db_auth/account_access.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_access`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_access`
(
- `id` int(10) unsigned NOT NULL,
- `gmlevel` tinyint(3) unsigned NOT NULL,
- `RealmID` int(11) NOT NULL DEFAULT -1,
+ `id` INT unsigned NOT NULL,
+ `gmlevel` TINYINT unsigned NOT NULL,
+ `RealmID` INT NOT NULL DEFAULT -1,
`comment` varchar(255) DEFAULT '',
PRIMARY KEY (`id`,`RealmID`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_access` WRITE;
diff --git a/data/sql/base/db_auth/account_banned.sql b/data/sql/base/db_auth/account_banned.sql
index cebaff245e..272d714317 100644
--- a/data/sql/base/db_auth/account_banned.sql
+++ b/data/sql/base/db_auth/account_banned.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_banned`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
- `bandate` int(10) unsigned NOT NULL DEFAULT 0,
- `unbandate` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
+ `bandate` INT unsigned NOT NULL DEFAULT 0,
+ `unbandate` INT unsigned NOT NULL DEFAULT 0,
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
- `active` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `active` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`id`,`bandate`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_banned` WRITE;
diff --git a/data/sql/base/db_auth/account_muted.sql b/data/sql/base/db_auth/account_muted.sql
index bf2bffe42a..256fcba7c9 100644
--- a/data/sql/base/db_auth/account_muted.sql
+++ b/data/sql/base/db_auth/account_muted.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_muted`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_muted`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `mutedate` int(10) unsigned NOT NULL DEFAULT 0,
- `mutetime` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `mutedate` INT unsigned NOT NULL DEFAULT 0,
+ `mutetime` INT unsigned NOT NULL DEFAULT 0,
`mutedby` varchar(50) NOT NULL,
`mutereason` varchar(255) NOT NULL,
PRIMARY KEY (`guid`,`mutedate`)
diff --git a/data/sql/base/db_auth/autobroadcast.sql b/data/sql/base/db_auth/autobroadcast.sql
index e78521cb96..d638dd1d59 100644
--- a/data/sql/base/db_auth/autobroadcast.sql
+++ b/data/sql/base/db_auth/autobroadcast.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `autobroadcast`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `autobroadcast`
(
- `realmid` int(11) NOT NULL DEFAULT -1,
- `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
- `weight` tinyint(3) unsigned DEFAULT 1,
+ `realmid` INT NOT NULL DEFAULT -1,
+ `id` TINYINT unsigned NOT NULL AUTO_INCREMENT,
+ `weight` TINYINT unsigned DEFAULT 1,
`text` longtext NOT NULL,
PRIMARY KEY (`id`,`realmid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `autobroadcast` WRITE;
diff --git a/data/sql/base/db_auth/ip2nation.sql b/data/sql/base/db_auth/ip2nation.sql
index ad490dc645..ba1aebf717 100644
--- a/data/sql/base/db_auth/ip2nation.sql
+++ b/data/sql/base/db_auth/ip2nation.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip2nation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `ip2nation`
(
- `ip` int(11) unsigned NOT NULL DEFAULT 0,
+ `ip` INT unsigned NOT NULL DEFAULT 0,
`country` char(2) NOT NULL DEFAULT '',
KEY `ip` (`ip`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip2nation` WRITE;
diff --git a/data/sql/base/db_auth/ip2nationCountries.sql b/data/sql/base/db_auth/ip2nationCountries.sql
index 66251dd5a3..a14ddd46c6 100644
--- a/data/sql/base/db_auth/ip2nationCountries.sql
+++ b/data/sql/base/db_auth/ip2nationCountries.sql
@@ -6,7 +6,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip2nationCountries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `ip2nationCountries`
(
`code` varchar(4) NOT NULL DEFAULT '',
@@ -18,7 +18,7 @@ CREATE TABLE `ip2nationCountries`
`lon` float NOT NULL DEFAULT 0,
PRIMARY KEY (`code`),
KEY `code` (`code`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip2nationCountries` WRITE;
diff --git a/data/sql/base/db_auth/ip_banned.sql b/data/sql/base/db_auth/ip_banned.sql
index abe5b6aba4..56b80d1798 100644
--- a/data/sql/base/db_auth/ip_banned.sql
+++ b/data/sql/base/db_auth/ip_banned.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `ip_banned`
(
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
- `bandate` int(10) unsigned NOT NULL,
- `unbandate` int(10) unsigned NOT NULL,
+ `bandate` INT unsigned NOT NULL,
+ `unbandate` INT unsigned NOT NULL,
`bannedby` varchar(50) NOT NULL DEFAULT '[Console]',
`banreason` varchar(255) NOT NULL DEFAULT 'no reason',
PRIMARY KEY (`ip`,`bandate`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Banned IPs';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Banned IPs';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip_banned` WRITE;
diff --git a/data/sql/base/db_auth/logs.sql b/data/sql/base/db_auth/logs.sql
index fb2150bc85..ff2d735a12 100644
--- a/data/sql/base/db_auth/logs.sql
+++ b/data/sql/base/db_auth/logs.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `logs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `logs`
(
- `time` int(10) unsigned NOT NULL,
- `realm` int(10) unsigned NOT NULL,
+ `time` INT unsigned NOT NULL,
+ `realm` INT unsigned NOT NULL,
`type` varchar(250) NOT NULL,
- `level` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `level` TINYINT unsigned NOT NULL DEFAULT 0,
`string` text CHARACTER SET latin1 DEFAULT NULL
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `logs` WRITE;
diff --git a/data/sql/base/db_auth/logs_ip_actions.sql b/data/sql/base/db_auth/logs_ip_actions.sql
index 5eb2430001..baafe28e4d 100644
--- a/data/sql/base/db_auth/logs_ip_actions.sql
+++ b/data/sql/base/db_auth/logs_ip_actions.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `logs_ip_actions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `logs_ip_actions`
(
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
- `account_id` int(10) unsigned NOT NULL COMMENT 'Account ID',
- `character_guid` int(10) unsigned NOT NULL COMMENT 'Character Guid',
- `type` tinyint(3) unsigned NOT NULL,
+ `id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
+ `account_id` INT unsigned NOT NULL COMMENT 'Account ID',
+ `character_guid` INT unsigned NOT NULL COMMENT 'Character Guid',
+ `type` TINYINT unsigned NOT NULL,
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`systemnote` text DEFAULT NULL COMMENT 'Notes inserted by system',
- `unixtime` int(10) unsigned NOT NULL COMMENT 'Unixtime',
+ `unixtime` INT unsigned NOT NULL COMMENT 'Unixtime',
`time` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'Timestamp',
`comment` text DEFAULT NULL COMMENT 'Allows users to add a comment',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Used to log ips of individual actions';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Used to log ips of individual actions';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `logs_ip_actions` WRITE;
diff --git a/data/sql/base/db_auth/realmcharacters.sql b/data/sql/base/db_auth/realmcharacters.sql
index 7e5c7abf8d..dff2b12f3b 100644
--- a/data/sql/base/db_auth/realmcharacters.sql
+++ b/data/sql/base/db_auth/realmcharacters.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `realmcharacters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `realmcharacters`
(
- `realmid` int(10) unsigned NOT NULL DEFAULT 0,
- `acctid` int(10) unsigned NOT NULL,
- `numchars` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `realmid` INT unsigned NOT NULL DEFAULT 0,
+ `acctid` INT unsigned NOT NULL,
+ `numchars` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`realmid`,`acctid`),
KEY `acctid` (`acctid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Realm Character Tracker';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Realm Character Tracker';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `realmcharacters` WRITE;
diff --git a/data/sql/base/db_auth/realmlist.sql b/data/sql/base/db_auth/realmlist.sql
index 2db9a56ae9..ecd0b054ad 100644
--- a/data/sql/base/db_auth/realmlist.sql
+++ b/data/sql/base/db_auth/realmlist.sql
@@ -6,24 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `realmlist`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `realmlist`
(
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `id` INT unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localAddress` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0',
- `port` smallint(5) unsigned NOT NULL DEFAULT 8085,
- `icon` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `flag` tinyint(3) unsigned NOT NULL DEFAULT 2,
- `timezone` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `population` float unsigned NOT NULL DEFAULT 0,
- `gamebuild` int(10) unsigned NOT NULL DEFAULT 12340,
+ `port` SMALLINT unsigned NOT NULL DEFAULT 8085,
+ `icon` TINYINT unsigned NOT NULL DEFAULT 0,
+ `flag` TINYINT unsigned NOT NULL DEFAULT 2,
+ `timezone` TINYINT unsigned NOT NULL DEFAULT 0,
+ `allowedSecurityLevel` TINYINT unsigned NOT NULL DEFAULT 0,
+ `population` FLOAT NOT NULL DEFAULT 0,
+ `gamebuild` INT unsigned NOT NULL DEFAULT 12340,
+ CHECK (`population`>=0),
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Realm System';
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=UTF8MB4 COMMENT='Realm System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `realmlist` WRITE;
diff --git a/data/sql/base/db_auth/uptime.sql b/data/sql/base/db_auth/uptime.sql
index 61dd0eb5b6..9e01895b93 100644
--- a/data/sql/base/db_auth/uptime.sql
+++ b/data/sql/base/db_auth/uptime.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `uptime`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `uptime`
(
- `realmid` int(10) unsigned NOT NULL,
- `starttime` int(10) unsigned NOT NULL DEFAULT 0,
- `uptime` int(10) unsigned NOT NULL DEFAULT 0,
- `maxplayers` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `realmid` INT unsigned NOT NULL,
+ `starttime` INT unsigned NOT NULL DEFAULT 0,
+ `uptime` INT unsigned NOT NULL DEFAULT 0,
+ `maxplayers` SMALLINT unsigned NOT NULL DEFAULT 0,
`revision` varchar(255) NOT NULL DEFAULT 'AzerothCore',
PRIMARY KEY (`realmid`,`starttime`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Uptime system';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Uptime system';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `uptime` WRITE;
diff --git a/data/sql/base/db_auth/version_db_auth.sql b/data/sql/base/db_auth/version_db_auth.sql
index e44bd86e2c..57de0eceda 100644
--- a/data/sql/base/db_auth/version_db_auth.sql
+++ b/data/sql/base/db_auth/version_db_auth.sql
@@ -6,7 +6,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `version_db_auth`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `version_db_auth`
(
`sql_rev` varchar(100) NOT NULL,
@@ -15,7 +15,7 @@ CREATE TABLE `version_db_auth`
PRIMARY KEY (`sql_rev`),
KEY `required` (`required_rev`),
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_auth` (`sql_rev`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `version_db_auth` WRITE;
diff --git a/data/sql/base/db_characters/account_data.sql b/data/sql/base/db_characters/account_data.sql
index 67890db458..7dde251b33 100644
--- a/data/sql/base/db_characters/account_data.sql
+++ b/data/sql/base/db_characters/account_data.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_data`
(
- `accountId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `time` int(10) unsigned NOT NULL DEFAULT 0,
+ `accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `time` INT unsigned NOT NULL DEFAULT 0,
`data` blob NOT NULL,
PRIMARY KEY (`accountId`,`type`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_data` WRITE;
diff --git a/data/sql/base/db_characters/account_instance_times.sql b/data/sql/base/db_characters/account_instance_times.sql
index 348484b88d..2d31b5ad59 100644
--- a/data/sql/base/db_characters/account_instance_times.sql
+++ b/data/sql/base/db_characters/account_instance_times.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_instance_times`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_instance_times`
(
- `accountId` int(10) unsigned NOT NULL,
- `instanceId` int(10) unsigned NOT NULL DEFAULT 0,
- `releaseTime` bigint(20) unsigned NOT NULL DEFAULT 0,
+ `accountId` INT unsigned NOT NULL,
+ `instanceId` INT unsigned NOT NULL DEFAULT 0,
+ `releaseTime` BIGINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`accountId`,`instanceId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_instance_times` WRITE;
diff --git a/data/sql/base/db_characters/account_tutorial.sql b/data/sql/base/db_characters/account_tutorial.sql
index a936f13e41..d6b8511d2d 100644
--- a/data/sql/base/db_characters/account_tutorial.sql
+++ b/data/sql/base/db_characters/account_tutorial.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_tutorial`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_tutorial`
(
- `accountId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
- `tut0` int(10) unsigned NOT NULL DEFAULT 0,
- `tut1` int(10) unsigned NOT NULL DEFAULT 0,
- `tut2` int(10) unsigned NOT NULL DEFAULT 0,
- `tut3` int(10) unsigned NOT NULL DEFAULT 0,
- `tut4` int(10) unsigned NOT NULL DEFAULT 0,
- `tut5` int(10) unsigned NOT NULL DEFAULT 0,
- `tut6` int(10) unsigned NOT NULL DEFAULT 0,
- `tut7` int(10) unsigned NOT NULL DEFAULT 0,
+ `accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
+ `tut0` INT unsigned NOT NULL DEFAULT 0,
+ `tut1` INT unsigned NOT NULL DEFAULT 0,
+ `tut2` INT unsigned NOT NULL DEFAULT 0,
+ `tut3` INT unsigned NOT NULL DEFAULT 0,
+ `tut4` INT unsigned NOT NULL DEFAULT 0,
+ `tut5` INT unsigned NOT NULL DEFAULT 0,
+ `tut6` INT unsigned NOT NULL DEFAULT 0,
+ `tut7` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`accountId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_tutorial` WRITE;
diff --git a/data/sql/base/db_characters/addons.sql b/data/sql/base/db_characters/addons.sql
index 3971590c9b..f3fa8c0e67 100644
--- a/data/sql/base/db_characters/addons.sql
+++ b/data/sql/base/db_characters/addons.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `addons`
(
`name` varchar(120) NOT NULL DEFAULT '',
- `crc` int(10) unsigned NOT NULL DEFAULT 0,
+ `crc` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`name`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Addons';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Addons';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `addons` WRITE;
diff --git a/data/sql/base/db_characters/arena_team.sql b/data/sql/base/db_characters/arena_team.sql
index 9682f8210e..b2c9af8c82 100644
--- a/data/sql/base/db_characters/arena_team.sql
+++ b/data/sql/base/db_characters/arena_team.sql
@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `arena_team`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `arena_team`
(
- `arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
+ `arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
`name` varchar(24) NOT NULL,
- `captainGuid` int(10) unsigned NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `rating` smallint(5) unsigned NOT NULL DEFAULT 0,
- `seasonGames` smallint(5) unsigned NOT NULL DEFAULT 0,
- `seasonWins` smallint(5) unsigned NOT NULL DEFAULT 0,
- `weekGames` smallint(5) unsigned NOT NULL DEFAULT 0,
- `weekWins` smallint(5) unsigned NOT NULL DEFAULT 0,
- `rank` int(10) unsigned NOT NULL DEFAULT 0,
- `backgroundColor` int(10) unsigned NOT NULL DEFAULT 0,
- `emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `emblemColor` int(10) unsigned NOT NULL DEFAULT 0,
- `borderStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `borderColor` int(10) unsigned NOT NULL DEFAULT 0,
+ `captainGuid` INT unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `rating` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `rank` INT unsigned NOT NULL DEFAULT 0,
+ `backgroundColor` INT unsigned NOT NULL DEFAULT 0,
+ `emblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `emblemColor` INT unsigned NOT NULL DEFAULT 0,
+ `borderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `borderColor` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`arenaTeamId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `arena_team` WRITE;
diff --git a/data/sql/base/db_characters/arena_team_member.sql b/data/sql/base/db_characters/arena_team_member.sql
index b2f6de7635..f5622804f5 100644
--- a/data/sql/base/db_characters/arena_team_member.sql
+++ b/data/sql/base/db_characters/arena_team_member.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `arena_team_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `arena_team_member`
(
- `arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `weekGames` smallint(5) unsigned NOT NULL DEFAULT 0,
- `weekWins` smallint(5) unsigned NOT NULL DEFAULT 0,
- `seasonGames` smallint(5) unsigned NOT NULL DEFAULT 0,
- `seasonWins` smallint(5) unsigned NOT NULL DEFAULT 0,
- `personalRating` smallint(5) NOT NULL DEFAULT 0,
+ `arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `personalRating` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`arenaTeamId`,`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `arena_team_member` WRITE;
diff --git a/data/sql/base/db_characters/auctionhouse.sql b/data/sql/base/db_characters/auctionhouse.sql
index 0e639f0da8..9815f2fb23 100644
--- a/data/sql/base/db_characters/auctionhouse.sql
+++ b/data/sql/base/db_characters/auctionhouse.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `auctionhouse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `auctionhouse`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0,
- `auctioneerguid` int(10) unsigned NOT NULL DEFAULT 0,
- `itemguid` int(10) unsigned NOT NULL DEFAULT 0,
- `itemowner` int(10) unsigned NOT NULL DEFAULT 0,
- `buyoutprice` int(10) unsigned NOT NULL DEFAULT 0,
- `time` int(10) unsigned NOT NULL DEFAULT 0,
- `buyguid` int(10) unsigned NOT NULL DEFAULT 0,
- `lastbid` int(10) unsigned NOT NULL DEFAULT 0,
- `startbid` int(10) unsigned NOT NULL DEFAULT 0,
- `deposit` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `auctioneerguid` INT unsigned NOT NULL DEFAULT 0,
+ `itemguid` INT unsigned NOT NULL DEFAULT 0,
+ `itemowner` INT unsigned NOT NULL DEFAULT 0,
+ `buyoutprice` INT unsigned NOT NULL DEFAULT 0,
+ `time` INT unsigned NOT NULL DEFAULT 0,
+ `buyguid` INT unsigned NOT NULL DEFAULT 0,
+ `lastbid` INT unsigned NOT NULL DEFAULT 0,
+ `startbid` INT unsigned NOT NULL DEFAULT 0,
+ `deposit` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `item_guid` (`itemguid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `auctionhouse` WRITE;
diff --git a/data/sql/base/db_characters/banned_addons.sql b/data/sql/base/db_characters/banned_addons.sql
index 76cd90443c..5a2c8cafd3 100644
--- a/data/sql/base/db_characters/banned_addons.sql
+++ b/data/sql/base/db_characters/banned_addons.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `banned_addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `banned_addons`
(
- `Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `Id` INT unsigned NOT NULL AUTO_INCREMENT,
`Name` varchar(255) NOT NULL,
`Version` varchar(255) NOT NULL DEFAULT '',
`Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`Id`),
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `banned_addons` WRITE;
diff --git a/data/sql/base/db_characters/battleground_deserters.sql b/data/sql/base/db_characters/battleground_deserters.sql
index 5a9e58427f..ba10ad44e7 100644
--- a/data/sql/base/db_characters/battleground_deserters.sql
+++ b/data/sql/base/db_characters/battleground_deserters.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `battleground_deserters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `battleground_deserters`
(
- `guid` int(10) unsigned NOT NULL COMMENT 'characters.guid',
- `type` tinyint(3) unsigned NOT NULL COMMENT 'type of the desertion',
+ `guid` INT unsigned NOT NULL COMMENT 'characters.guid',
+ `type` TINYINT unsigned NOT NULL COMMENT 'type of the desertion',
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
diff --git a/data/sql/base/db_characters/bugreport.sql b/data/sql/base/db_characters/bugreport.sql
index 0a7f2a83de..8912bbf155 100644
--- a/data/sql/base/db_characters/bugreport.sql
+++ b/data/sql/base/db_characters/bugreport.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `bugreport`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `bugreport`
(
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
+ `id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`type` longtext NOT NULL,
`content` longtext NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Debug System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Debug System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `bugreport` WRITE;
diff --git a/data/sql/base/db_characters/calendar_events.sql b/data/sql/base/db_characters/calendar_events.sql
index 1b9df7371d..66dee0ae51 100644
--- a/data/sql/base/db_characters/calendar_events.sql
+++ b/data/sql/base/db_characters/calendar_events.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `calendar_events`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `calendar_events`
(
- `id` bigint(20) unsigned NOT NULL DEFAULT 0,
- `creator` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` BIGINT unsigned NOT NULL DEFAULT 0,
+ `creator` INT unsigned NOT NULL DEFAULT 0,
`title` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
- `type` tinyint(1) unsigned NOT NULL DEFAULT 4,
- `dungeon` int(10) NOT NULL DEFAULT -1,
- `eventtime` int(10) unsigned NOT NULL DEFAULT 0,
- `flags` int(10) unsigned NOT NULL DEFAULT 0,
- `time2` int(10) unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 4,
+ `dungeon` INT NOT NULL DEFAULT -1,
+ `eventtime` INT unsigned NOT NULL DEFAULT 0,
+ `flags` INT unsigned NOT NULL DEFAULT 0,
+ `time2` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `calendar_events` WRITE;
diff --git a/data/sql/base/db_characters/calendar_invites.sql b/data/sql/base/db_characters/calendar_invites.sql
index fff18558bc..83fc2dd039 100644
--- a/data/sql/base/db_characters/calendar_invites.sql
+++ b/data/sql/base/db_characters/calendar_invites.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `calendar_invites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `calendar_invites`
(
- `id` bigint(20) unsigned NOT NULL DEFAULT 0,
- `event` bigint(20) unsigned NOT NULL DEFAULT 0,
- `invitee` int(10) unsigned NOT NULL DEFAULT 0,
- `sender` int(10) unsigned NOT NULL DEFAULT 0,
- `status` tinyint(1) unsigned NOT NULL DEFAULT 0,
- `statustime` int(10) unsigned NOT NULL DEFAULT 0,
- `rank` tinyint(1) unsigned NOT NULL DEFAULT 0,
+ `id` BIGINT unsigned NOT NULL DEFAULT 0,
+ `event` BIGINT unsigned NOT NULL DEFAULT 0,
+ `invitee` INT unsigned NOT NULL DEFAULT 0,
+ `sender` INT unsigned NOT NULL DEFAULT 0,
+ `status` TINYINT unsigned NOT NULL DEFAULT 0,
+ `statustime` INT unsigned NOT NULL DEFAULT 0,
+ `rank` TINYINT unsigned NOT NULL DEFAULT 0,
`text` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `calendar_invites` WRITE;
diff --git a/data/sql/base/db_characters/channels.sql b/data/sql/base/db_characters/channels.sql
index 8c252c8c96..035ede5e83 100644
--- a/data/sql/base/db_characters/channels.sql
+++ b/data/sql/base/db_characters/channels.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `channels`
(
- `channelId` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `channelId` INT unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
- `team` int(10) unsigned NOT NULL,
- `announce` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `ownership` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `team` INT unsigned NOT NULL,
+ `announce` TINYINT unsigned NOT NULL DEFAULT 1,
+ `ownership` TINYINT unsigned NOT NULL DEFAULT 1,
`password` varchar(32) DEFAULT NULL,
- `lastUsed` int(10) unsigned NOT NULL,
+ `lastUsed` INT unsigned NOT NULL,
PRIMARY KEY (`channelId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Channel System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Channel System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels` WRITE;
diff --git a/data/sql/base/db_characters/channels_bans.sql b/data/sql/base/db_characters/channels_bans.sql
index da5d5589e4..889ac30d51 100644
--- a/data/sql/base/db_characters/channels_bans.sql
+++ b/data/sql/base/db_characters/channels_bans.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels_bans`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `channels_bans`
(
- `channelId` int(10) unsigned NOT NULL,
- `playerGUID` int(10) unsigned NOT NULL,
- `banTime` int(10) unsigned NOT NULL,
+ `channelId` INT unsigned NOT NULL,
+ `playerGUID` INT unsigned NOT NULL,
+ `banTime` INT unsigned NOT NULL,
PRIMARY KEY (`channelId`,`playerGUID`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels_bans` WRITE;
diff --git a/data/sql/base/db_characters/channels_rights.sql b/data/sql/base/db_characters/channels_rights.sql
index 335cbd4a27..2e0c2e425d 100644
--- a/data/sql/base/db_characters/channels_rights.sql
+++ b/data/sql/base/db_characters/channels_rights.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels_rights`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `channels_rights`
(
`name` varchar(128) NOT NULL,
- `flags` int(10) unsigned NOT NULL,
- `speakdelay` int(10) unsigned NOT NULL,
+ `flags` INT unsigned NOT NULL,
+ `speakdelay` INT unsigned NOT NULL,
`joinmessage` varchar(255) NOT NULL DEFAULT '',
`delaymessage` varchar(255) NOT NULL DEFAULT '',
`moderators` text DEFAULT NULL,
PRIMARY KEY (`name`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels_rights` WRITE;
diff --git a/data/sql/base/db_characters/character_account_data.sql b/data/sql/base/db_characters/character_account_data.sql
index ddc50cf5ef..951b6fef2e 100644
--- a/data/sql/base/db_characters/character_account_data.sql
+++ b/data/sql/base/db_characters/character_account_data.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_account_data`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `time` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `time` INT unsigned NOT NULL DEFAULT 0,
`data` blob NOT NULL,
PRIMARY KEY (`guid`,`type`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_account_data` WRITE;
diff --git a/data/sql/base/db_characters/character_achievement.sql b/data/sql/base/db_characters/character_achievement.sql
index 98d3aff8f7..724f56ec3d 100644
--- a/data/sql/base/db_characters/character_achievement.sql
+++ b/data/sql/base/db_characters/character_achievement.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_achievement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_achievement`
(
- `guid` int(10) unsigned NOT NULL,
- `achievement` smallint(5) unsigned NOT NULL,
- `date` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `achievement` SMALLINT unsigned NOT NULL,
+ `date` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`achievement`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_achievement` WRITE;
diff --git a/data/sql/base/db_characters/character_achievement_progress.sql b/data/sql/base/db_characters/character_achievement_progress.sql
index 4ca3058bf3..e54957a0ff 100644
--- a/data/sql/base/db_characters/character_achievement_progress.sql
+++ b/data/sql/base/db_characters/character_achievement_progress.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_achievement_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_achievement_progress`
(
- `guid` int(10) unsigned NOT NULL,
- `criteria` smallint(5) unsigned NOT NULL,
- `counter` int(10) unsigned NOT NULL,
- `date` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `criteria` SMALLINT unsigned NOT NULL,
+ `counter` INT unsigned NOT NULL,
+ `date` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`criteria`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_achievement_progress` WRITE;
diff --git a/data/sql/base/db_characters/character_action.sql b/data/sql/base/db_characters/character_action.sql
index 6529fb88af..4275931cb7 100644
--- a/data/sql/base/db_characters/character_action.sql
+++ b/data/sql/base/db_characters/character_action.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_action`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `spec` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `button` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `action` int(10) unsigned NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `spec` TINYINT unsigned NOT NULL DEFAULT 0,
+ `button` TINYINT unsigned NOT NULL DEFAULT 0,
+ `action` INT unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spec`,`button`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_action` WRITE;
diff --git a/data/sql/base/db_characters/character_arena_stats.sql b/data/sql/base/db_characters/character_arena_stats.sql
index 30444e18af..4ef961ddf4 100644
--- a/data/sql/base/db_characters/character_arena_stats.sql
+++ b/data/sql/base/db_characters/character_arena_stats.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_arena_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_arena_stats`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `matchMakerRating` smallint(5) unsigned NOT NULL DEFAULT 0,
- `maxMMR` smallint(5) NOT NULL,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `slot` TINYINT unsigned NOT NULL DEFAULT 0,
+ `matchMakerRating` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `maxMMR` SMALLINT NOT NULL,
PRIMARY KEY (`guid`,`slot`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_arena_stats` WRITE;
diff --git a/data/sql/base/db_characters/character_aura.sql b/data/sql/base/db_characters/character_aura.sql
index c27ea96a87..88d986b0de 100644
--- a/data/sql/base/db_characters/character_aura.sql
+++ b/data/sql/base/db_characters/character_aura.sql
@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_aura`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `casterGuid` bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
- `itemGuid` bigint(20) unsigned NOT NULL DEFAULT 0,
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `effectMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stackCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `amount0` int(11) NOT NULL DEFAULT 0,
- `amount1` int(11) NOT NULL DEFAULT 0,
- `amount2` int(11) NOT NULL DEFAULT 0,
- `base_amount0` int(11) NOT NULL DEFAULT 0,
- `base_amount1` int(11) NOT NULL DEFAULT 0,
- `base_amount2` int(11) NOT NULL DEFAULT 0,
- `maxDuration` int(11) NOT NULL DEFAULT 0,
- `remainTime` int(11) NOT NULL DEFAULT 0,
- `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
+ `itemGuid` BIGINT unsigned NOT NULL DEFAULT 0,
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
+ `recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `amount0` INT NOT NULL DEFAULT 0,
+ `amount1` INT NOT NULL DEFAULT 0,
+ `amount2` INT NOT NULL DEFAULT 0,
+ `base_amount0` INT NOT NULL DEFAULT 0,
+ `base_amount1` INT NOT NULL DEFAULT 0,
+ `base_amount2` INT NOT NULL DEFAULT 0,
+ `maxDuration` INT NOT NULL DEFAULT 0,
+ `remainTime` INT NOT NULL DEFAULT 0,
+ `remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_aura` WRITE;
diff --git a/data/sql/base/db_characters/character_banned.sql b/data/sql/base/db_characters/character_banned.sql
index a8b82d4ae9..34f48cf7df 100644
--- a/data/sql/base/db_characters/character_banned.sql
+++ b/data/sql/base/db_characters/character_banned.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_banned`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `bandate` int(10) unsigned NOT NULL DEFAULT 0,
- `unbandate` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `bandate` INT unsigned NOT NULL DEFAULT 0,
+ `unbandate` INT unsigned NOT NULL DEFAULT 0,
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
- `active` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `active` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`bandate`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_banned` WRITE;
diff --git a/data/sql/base/db_characters/character_battleground_random.sql b/data/sql/base/db_characters/character_battleground_random.sql
index 009baff8dc..e6e02a812a 100644
--- a/data/sql/base/db_characters/character_battleground_random.sql
+++ b/data/sql/base/db_characters/character_battleground_random.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_battleground_random`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_battleground_random`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_battleground_random` WRITE;
diff --git a/data/sql/base/db_characters/character_brew_of_the_month.sql b/data/sql/base/db_characters/character_brew_of_the_month.sql
index c23e9325fd..233ccc4ca4 100644
--- a/data/sql/base/db_characters/character_brew_of_the_month.sql
+++ b/data/sql/base/db_characters/character_brew_of_the_month.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_brew_of_the_month`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_brew_of_the_month`
(
- `guid` int(10) unsigned NOT NULL,
- `lastEventId` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `lastEventId` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_brew_of_the_month` WRITE;
diff --git a/data/sql/base/db_characters/character_declinedname.sql b/data/sql/base/db_characters/character_declinedname.sql
index 40483c7924..91fcc5e96f 100644
--- a/data/sql/base/db_characters/character_declinedname.sql
+++ b/data/sql/base/db_characters/character_declinedname.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_declinedname`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`genitive` varchar(15) NOT NULL DEFAULT '',
`dative` varchar(15) NOT NULL DEFAULT '',
`accusative` varchar(15) NOT NULL DEFAULT '',
`instrumental` varchar(15) NOT NULL DEFAULT '',
`prepositional` varchar(15) NOT NULL DEFAULT '',
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_declinedname` WRITE;
diff --git a/data/sql/base/db_characters/character_entry_point.sql b/data/sql/base/db_characters/character_entry_point.sql
index 763c78ba01..d6cafe35a9 100644
--- a/data/sql/base/db_characters/character_entry_point.sql
+++ b/data/sql/base/db_characters/character_entry_point.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_entry_point`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_entry_point`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`joinX` float NOT NULL DEFAULT 0,
`joinY` float NOT NULL DEFAULT 0,
`joinZ` float NOT NULL DEFAULT 0,
`joinO` float NOT NULL DEFAULT 0,
- `joinMapId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
+ `joinMapId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`taxiPath` text DEFAULT NULL,
- `mountSpell` int(10) unsigned NOT NULL DEFAULT 0,
+ `mountSpell` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_entry_point` WRITE;
diff --git a/data/sql/base/db_characters/character_equipmentsets.sql b/data/sql/base/db_characters/character_equipmentsets.sql
index db23d04025..63a4c13752 100644
--- a/data/sql/base/db_characters/character_equipmentsets.sql
+++ b/data/sql/base/db_characters/character_equipmentsets.sql
@@ -6,38 +6,38 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_equipmentsets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_equipmentsets`
(
- `guid` int(10) NOT NULL DEFAULT 0,
- `setguid` bigint(20) NOT NULL AUTO_INCREMENT,
- `setindex` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT NOT NULL DEFAULT 0,
+ `setguid` BIGINT NOT NULL AUTO_INCREMENT,
+ `setindex` TINYINT unsigned NOT NULL DEFAULT 0,
`name` varchar(31) NOT NULL,
`iconname` varchar(100) NOT NULL,
- `ignore_mask` int(11) unsigned NOT NULL DEFAULT 0,
- `item0` int(11) unsigned NOT NULL DEFAULT 0,
- `item1` int(11) unsigned NOT NULL DEFAULT 0,
- `item2` int(11) unsigned NOT NULL DEFAULT 0,
- `item3` int(11) unsigned NOT NULL DEFAULT 0,
- `item4` int(11) unsigned NOT NULL DEFAULT 0,
- `item5` int(11) unsigned NOT NULL DEFAULT 0,
- `item6` int(11) unsigned NOT NULL DEFAULT 0,
- `item7` int(11) unsigned NOT NULL DEFAULT 0,
- `item8` int(11) unsigned NOT NULL DEFAULT 0,
- `item9` int(11) unsigned NOT NULL DEFAULT 0,
- `item10` int(11) unsigned NOT NULL DEFAULT 0,
- `item11` int(11) unsigned NOT NULL DEFAULT 0,
- `item12` int(11) unsigned NOT NULL DEFAULT 0,
- `item13` int(11) unsigned NOT NULL DEFAULT 0,
- `item14` int(11) unsigned NOT NULL DEFAULT 0,
- `item15` int(11) unsigned NOT NULL DEFAULT 0,
- `item16` int(11) unsigned NOT NULL DEFAULT 0,
- `item17` int(11) unsigned NOT NULL DEFAULT 0,
- `item18` int(11) unsigned NOT NULL DEFAULT 0,
+ `ignore_mask` INT unsigned NOT NULL DEFAULT 0,
+ `item0` INT unsigned NOT NULL DEFAULT 0,
+ `item1` INT unsigned NOT NULL DEFAULT 0,
+ `item2` INT unsigned NOT NULL DEFAULT 0,
+ `item3` INT unsigned NOT NULL DEFAULT 0,
+ `item4` INT unsigned NOT NULL DEFAULT 0,
+ `item5` INT unsigned NOT NULL DEFAULT 0,
+ `item6` INT unsigned NOT NULL DEFAULT 0,
+ `item7` INT unsigned NOT NULL DEFAULT 0,
+ `item8` INT unsigned NOT NULL DEFAULT 0,
+ `item9` INT unsigned NOT NULL DEFAULT 0,
+ `item10` INT unsigned NOT NULL DEFAULT 0,
+ `item11` INT unsigned NOT NULL DEFAULT 0,
+ `item12` INT unsigned NOT NULL DEFAULT 0,
+ `item13` INT unsigned NOT NULL DEFAULT 0,
+ `item14` INT unsigned NOT NULL DEFAULT 0,
+ `item15` INT unsigned NOT NULL DEFAULT 0,
+ `item16` INT unsigned NOT NULL DEFAULT 0,
+ `item17` INT unsigned NOT NULL DEFAULT 0,
+ `item18` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_equipmentsets` WRITE;
diff --git a/data/sql/base/db_characters/character_gifts.sql b/data/sql/base/db_characters/character_gifts.sql
index 4d21fa5586..027724fef2 100644
--- a/data/sql/base/db_characters/character_gifts.sql
+++ b/data/sql/base/db_characters/character_gifts.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_gifts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_gifts`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `item_guid` int(10) unsigned NOT NULL DEFAULT 0,
- `entry` int(10) unsigned NOT NULL DEFAULT 0,
- `flags` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `item_guid` INT unsigned NOT NULL DEFAULT 0,
+ `entry` INT unsigned NOT NULL DEFAULT 0,
+ `flags` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`item_guid`),
KEY `idx_guid` (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_gifts` WRITE;
diff --git a/data/sql/base/db_characters/character_glyphs.sql b/data/sql/base/db_characters/character_glyphs.sql
index 1e24c573c8..1b4d800140 100644
--- a/data/sql/base/db_characters/character_glyphs.sql
+++ b/data/sql/base/db_characters/character_glyphs.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_glyphs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_glyphs`
(
- `guid` int(10) unsigned NOT NULL,
- `talentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `glyph1` smallint(5) unsigned DEFAULT 0,
- `glyph2` smallint(5) unsigned DEFAULT 0,
- `glyph3` smallint(5) unsigned DEFAULT 0,
- `glyph4` smallint(5) unsigned DEFAULT 0,
- `glyph5` smallint(5) unsigned DEFAULT 0,
- `glyph6` smallint(5) unsigned DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `talentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
+ `glyph1` SMALLINT unsigned DEFAULT 0,
+ `glyph2` SMALLINT unsigned DEFAULT 0,
+ `glyph3` SMALLINT unsigned DEFAULT 0,
+ `glyph4` SMALLINT unsigned DEFAULT 0,
+ `glyph5` SMALLINT unsigned DEFAULT 0,
+ `glyph6` SMALLINT unsigned DEFAULT 0,
PRIMARY KEY (`guid`,`talentGroup`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_glyphs` WRITE;
diff --git a/data/sql/base/db_characters/character_homebind.sql b/data/sql/base/db_characters/character_homebind.sql
index cc45d37fe7..d4373b7228 100644
--- a/data/sql/base/db_characters/character_homebind.sql
+++ b/data/sql/base/db_characters/character_homebind.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_homebind`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_homebind`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `mapId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
- `zoneId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
+ `zoneId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_homebind` WRITE;
diff --git a/data/sql/base/db_characters/character_instance.sql b/data/sql/base/db_characters/character_instance.sql
index 5169dea3c7..4845bd4353 100644
--- a/data/sql/base/db_characters/character_instance.sql
+++ b/data/sql/base/db_characters/character_instance.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_instance`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `instance` int(10) unsigned NOT NULL DEFAULT 0,
- `permanent` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `extended` tinyint(3) unsigned NOT NULL,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `instance` INT unsigned NOT NULL DEFAULT 0,
+ `permanent` TINYINT unsigned NOT NULL DEFAULT 0,
+ `extended` TINYINT unsigned NOT NULL,
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_instance` WRITE;
diff --git a/data/sql/base/db_characters/character_inventory.sql b/data/sql/base/db_characters/character_inventory.sql
index 77f302dc6e..d48b111bc3 100644
--- a/data/sql/base/db_characters/character_inventory.sql
+++ b/data/sql/base/db_characters/character_inventory.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_inventory`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `bag` int(10) unsigned NOT NULL DEFAULT 0,
- `slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `item` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Item Global Unique Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `bag` INT unsigned NOT NULL DEFAULT 0,
+ `slot` TINYINT unsigned NOT NULL DEFAULT 0,
+ `item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Global Unique Identifier',
PRIMARY KEY (`item`),
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
KEY `idx_guid` (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_inventory` WRITE;
diff --git a/data/sql/base/db_characters/character_pet.sql b/data/sql/base/db_characters/character_pet.sql
index 9e9cfa4356..05d9daae79 100644
--- a/data/sql/base/db_characters/character_pet.sql
+++ b/data/sql/base/db_characters/character_pet.sql
@@ -6,30 +6,30 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_pet`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_pet`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0,
- `entry` int(10) unsigned NOT NULL DEFAULT 0,
- `owner` int(10) unsigned NOT NULL DEFAULT 0,
- `modelid` int(10) unsigned DEFAULT 0,
- `CreatedBySpell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `PetType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `level` smallint(5) unsigned NOT NULL DEFAULT 1,
- `exp` int(10) unsigned NOT NULL DEFAULT 0,
- `Reactstate` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `entry` INT unsigned NOT NULL DEFAULT 0,
+ `owner` INT unsigned NOT NULL DEFAULT 0,
+ `modelid` INT unsigned DEFAULT 0,
+ `CreatedBySpell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `PetType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `level` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `exp` INT unsigned NOT NULL DEFAULT 0,
+ `Reactstate` TINYINT unsigned NOT NULL DEFAULT 0,
`name` varchar(21) NOT NULL DEFAULT 'Pet',
- `renamed` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `curhealth` int(10) unsigned NOT NULL DEFAULT 1,
- `curmana` int(10) unsigned NOT NULL DEFAULT 0,
- `curhappiness` int(10) unsigned NOT NULL DEFAULT 0,
- `savetime` int(10) unsigned NOT NULL DEFAULT 0,
+ `renamed` TINYINT unsigned NOT NULL DEFAULT 0,
+ `slot` TINYINT unsigned NOT NULL DEFAULT 0,
+ `curhealth` INT unsigned NOT NULL DEFAULT 1,
+ `curmana` INT unsigned NOT NULL DEFAULT 0,
+ `curhappiness` INT unsigned NOT NULL DEFAULT 0,
+ `savetime` INT unsigned NOT NULL DEFAULT 0,
`abdata` text DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `owner` (`owner`),
KEY `idx_slot` (`slot`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_pet` WRITE;
diff --git a/data/sql/base/db_characters/character_pet_declinedname.sql b/data/sql/base/db_characters/character_pet_declinedname.sql
index 19731675c4..0f28f5888b 100644
--- a/data/sql/base/db_characters/character_pet_declinedname.sql
+++ b/data/sql/base/db_characters/character_pet_declinedname.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_pet_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_pet_declinedname`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0,
- `owner` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `owner` INT unsigned NOT NULL DEFAULT 0,
`genitive` varchar(12) NOT NULL DEFAULT '',
`dative` varchar(12) NOT NULL DEFAULT '',
`accusative` varchar(12) NOT NULL DEFAULT '',
@@ -18,7 +18,7 @@ CREATE TABLE `character_pet_declinedname`
`prepositional` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `owner_key` (`owner`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_pet_declinedname` WRITE;
diff --git a/data/sql/base/db_characters/character_queststatus.sql b/data/sql/base/db_characters/character_queststatus.sql
index 8bf4e48c86..fc75d3da54 100644
--- a/data/sql/base/db_characters/character_queststatus.sql
+++ b/data/sql/base/db_characters/character_queststatus.sql
@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_queststatus`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
- `status` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `explored` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `timer` int(10) unsigned NOT NULL DEFAULT 0,
- `mobcount1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `mobcount2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `mobcount3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `mobcount4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `itemcount1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `itemcount2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `itemcount3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `itemcount4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `itemcount5` smallint(5) unsigned NOT NULL DEFAULT 0,
- `itemcount6` smallint(5) unsigned NOT NULL DEFAULT 0,
- `playercount` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `status` TINYINT unsigned NOT NULL DEFAULT 0,
+ `explored` TINYINT unsigned NOT NULL DEFAULT 0,
+ `timer` INT unsigned NOT NULL DEFAULT 0,
+ `mobcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `mobcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `mobcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `mobcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `itemcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `itemcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `itemcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `itemcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `itemcount5` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `itemcount6` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `playercount` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`quest`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus` WRITE;
diff --git a/data/sql/base/db_characters/character_queststatus_daily.sql b/data/sql/base/db_characters/character_queststatus_daily.sql
index e2c92849ff..189130bc5a 100644
--- a/data/sql/base/db_characters/character_queststatus_daily.sql
+++ b/data/sql/base/db_characters/character_queststatus_daily.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_daily`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_queststatus_daily`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
- `time` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `time` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_daily` WRITE;
diff --git a/data/sql/base/db_characters/character_queststatus_monthly.sql b/data/sql/base/db_characters/character_queststatus_monthly.sql
index fd1bda8cd3..07f6f32d21 100644
--- a/data/sql/base/db_characters/character_queststatus_monthly.sql
+++ b/data/sql/base/db_characters/character_queststatus_monthly.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_monthly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_queststatus_monthly`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_monthly` WRITE;
diff --git a/data/sql/base/db_characters/character_queststatus_rewarded.sql b/data/sql/base/db_characters/character_queststatus_rewarded.sql
index 63029cae3b..954d7d4265 100644
--- a/data/sql/base/db_characters/character_queststatus_rewarded.sql
+++ b/data/sql/base/db_characters/character_queststatus_rewarded.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_queststatus_rewarded`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
- `active` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `active` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`quest`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_rewarded` WRITE;
diff --git a/data/sql/base/db_characters/character_queststatus_seasonal.sql b/data/sql/base/db_characters/character_queststatus_seasonal.sql
index ccb69a997c..b892c5d47e 100644
--- a/data/sql/base/db_characters/character_queststatus_seasonal.sql
+++ b/data/sql/base/db_characters/character_queststatus_seasonal.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_queststatus_seasonal`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
- `event` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Event Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `event` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_seasonal` WRITE;
diff --git a/data/sql/base/db_characters/character_queststatus_weekly.sql b/data/sql/base/db_characters/character_queststatus_weekly.sql
index 7ffae0eb09..9c5dcf7cf4 100644
--- a/data/sql/base/db_characters/character_queststatus_weekly.sql
+++ b/data/sql/base/db_characters/character_queststatus_weekly.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_weekly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_queststatus_weekly`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_weekly` WRITE;
diff --git a/data/sql/base/db_characters/character_reputation.sql b/data/sql/base/db_characters/character_reputation.sql
index 116a0afa68..b38984f4d5 100644
--- a/data/sql/base/db_characters/character_reputation.sql
+++ b/data/sql/base/db_characters/character_reputation.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_reputation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_reputation`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `faction` smallint(5) unsigned NOT NULL DEFAULT 0,
- `standing` int(11) NOT NULL DEFAULT 0,
- `flags` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `faction` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `standing` INT NOT NULL DEFAULT 0,
+ `flags` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`faction`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_reputation` WRITE;
diff --git a/data/sql/base/db_characters/character_skills.sql b/data/sql/base/db_characters/character_skills.sql
index 07214ae883..f23dd3a5f0 100644
--- a/data/sql/base/db_characters/character_skills.sql
+++ b/data/sql/base/db_characters/character_skills.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_skills`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_skills`
(
- `guid` int(10) unsigned NOT NULL COMMENT 'Global Unique Identifier',
- `skill` smallint(5) unsigned NOT NULL,
- `value` smallint(5) unsigned NOT NULL,
- `max` smallint(5) unsigned NOT NULL,
+ `guid` INT unsigned NOT NULL COMMENT 'Global Unique Identifier',
+ `skill` SMALLINT unsigned NOT NULL,
+ `value` SMALLINT unsigned NOT NULL,
+ `max` SMALLINT unsigned NOT NULL,
PRIMARY KEY (`guid`,`skill`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_skills` WRITE;
diff --git a/data/sql/base/db_characters/character_social.sql b/data/sql/base/db_characters/character_social.sql
index a050aa0573..24b980b78e 100644
--- a/data/sql/base/db_characters/character_social.sql
+++ b/data/sql/base/db_characters/character_social.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_social`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_social`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
- `friend` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Global Unique Identifier',
- `flags` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Flags',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
+ `friend` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Global Unique Identifier',
+ `flags` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Flags',
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
PRIMARY KEY (`guid`,`friend`,`flags`),
KEY `friend` (`friend`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_social` WRITE;
diff --git a/data/sql/base/db_characters/character_spell.sql b/data/sql/base/db_characters/character_spell.sql
index e19374633b..e3088f1c29 100644
--- a/data/sql/base/db_characters/character_spell.sql
+++ b/data/sql/base/db_characters/character_spell.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_spell`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
- `specMask` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
+ `specMask` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`spell`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_spell` WRITE;
diff --git a/data/sql/base/db_characters/character_spell_cooldown.sql b/data/sql/base/db_characters/character_spell_cooldown.sql
index 845f7af2b5..af9fd3d925 100644
--- a/data/sql/base/db_characters/character_spell_cooldown.sql
+++ b/data/sql/base/db_characters/character_spell_cooldown.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_spell_cooldown`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_spell_cooldown`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
- `item` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Item Identifier',
- `time` int(10) unsigned NOT NULL DEFAULT 0,
- `needSend` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
+ `item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Identifier',
+ `time` INT unsigned NOT NULL DEFAULT 0,
+ `needSend` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`spell`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_spell_cooldown` WRITE;
diff --git a/data/sql/base/db_characters/character_stats.sql b/data/sql/base/db_characters/character_stats.sql
index 5f2c783607..bbd7ec03b7 100644
--- a/data/sql/base/db_characters/character_stats.sql
+++ b/data/sql/base/db_characters/character_stats.sql
@@ -6,42 +6,43 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_stats`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
- `maxhealth` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower1` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower2` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower3` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower4` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower5` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower6` int(10) unsigned NOT NULL DEFAULT 0,
- `maxpower7` int(10) unsigned NOT NULL DEFAULT 0,
- `strength` int(10) unsigned NOT NULL DEFAULT 0,
- `agility` int(10) unsigned NOT NULL DEFAULT 0,
- `stamina` int(10) unsigned NOT NULL DEFAULT 0,
- `intellect` int(10) unsigned NOT NULL DEFAULT 0,
- `spirit` int(10) unsigned NOT NULL DEFAULT 0,
- `armor` int(10) unsigned NOT NULL DEFAULT 0,
- `resHoly` int(10) unsigned NOT NULL DEFAULT 0,
- `resFire` int(10) unsigned NOT NULL DEFAULT 0,
- `resNature` int(10) unsigned NOT NULL DEFAULT 0,
- `resFrost` int(10) unsigned NOT NULL DEFAULT 0,
- `resShadow` int(10) unsigned NOT NULL DEFAULT 0,
- `resArcane` int(10) unsigned NOT NULL DEFAULT 0,
- `blockPct` float unsigned NOT NULL DEFAULT 0,
- `dodgePct` float unsigned NOT NULL DEFAULT 0,
- `parryPct` float unsigned NOT NULL DEFAULT 0,
- `critPct` float unsigned NOT NULL DEFAULT 0,
- `rangedCritPct` float unsigned NOT NULL DEFAULT 0,
- `spellCritPct` float unsigned NOT NULL DEFAULT 0,
- `attackPower` int(10) unsigned NOT NULL DEFAULT 0,
- `rangedAttackPower` int(10) unsigned NOT NULL DEFAULT 0,
- `spellPower` int(10) unsigned NOT NULL DEFAULT 0,
- `resilience` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
+ `maxhealth` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower1` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower2` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower3` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower4` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower5` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower6` INT unsigned NOT NULL DEFAULT 0,
+ `maxpower7` INT unsigned NOT NULL DEFAULT 0,
+ `strength` INT unsigned NOT NULL DEFAULT 0,
+ `agility` INT unsigned NOT NULL DEFAULT 0,
+ `stamina` INT unsigned NOT NULL DEFAULT 0,
+ `intellect` INT unsigned NOT NULL DEFAULT 0,
+ `spirit` INT unsigned NOT NULL DEFAULT 0,
+ `armor` INT unsigned NOT NULL DEFAULT 0,
+ `resHoly` INT unsigned NOT NULL DEFAULT 0,
+ `resFire` INT unsigned NOT NULL DEFAULT 0,
+ `resNature` INT unsigned NOT NULL DEFAULT 0,
+ `resFrost` INT unsigned NOT NULL DEFAULT 0,
+ `resShadow` INT unsigned NOT NULL DEFAULT 0,
+ `resArcane` INT unsigned NOT NULL DEFAULT 0,
+ `blockPct` FLOAT NOT NULL DEFAULT 0,
+ `dodgePct` FLOAT NOT NULL DEFAULT 0,
+ `parryPct` FLOAT NOT NULL DEFAULT 0,
+ `critPct` FLOAT NOT NULL DEFAULT 0,
+ `rangedCritPct` FLOAT NOT NULL DEFAULT 0,
+ `spellCritPct` FLOAT NOT NULL DEFAULT 0,
+ `attackPower` INT unsigned NOT NULL DEFAULT 0,
+ `rangedAttackPower` INT unsigned NOT NULL DEFAULT 0,
+ `spellPower` INT unsigned NOT NULL DEFAULT 0,
+ `resilience` INT unsigned NOT NULL DEFAULT 0,
+ CHECK (`blockPct`>=0 AND `dodgePct`>=0 AND `parryPct`>=0 AND `critPct`>=0 AND `rangedCritPct`>=0 AND `spellCritPct`>=0),
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_stats` WRITE;
diff --git a/data/sql/base/db_characters/character_talent.sql b/data/sql/base/db_characters/character_talent.sql
index b964e64173..359119331f 100644
--- a/data/sql/base/db_characters/character_talent.sql
+++ b/data/sql/base/db_characters/character_talent.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_talent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_talent`
(
- `guid` int(10) unsigned NOT NULL,
- `spell` mediumint(8) unsigned NOT NULL,
- `specMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `spell` MEDIUMINT unsigned NOT NULL,
+ `specMask` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_talent` WRITE;
diff --git a/data/sql/base/db_characters/characters.sql b/data/sql/base/db_characters/characters.sql
index 010afb1b5f..a09264a0a5 100644
--- a/data/sql/base/db_characters/characters.sql
+++ b/data/sql/base/db_characters/characters.sql
@@ -6,91 +6,91 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `characters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `characters`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `account` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
- `name` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
- `race` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `gender` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `level` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `xp` int(10) unsigned NOT NULL DEFAULT 0,
- `money` int(10) unsigned NOT NULL DEFAULT 0,
- `skin` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `face` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `hairStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `hairColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `facialStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `bankSlots` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `restState` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `playerFlags` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `account` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
+ `name` varchar(12) CHARACTER SET UTF8MB4 COLLATE utf8mb4_bin NOT NULL,
+ `race` TINYINT unsigned NOT NULL DEFAULT 0,
+ `class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `gender` TINYINT unsigned NOT NULL DEFAULT 0,
+ `level` TINYINT unsigned NOT NULL DEFAULT 0,
+ `xp` INT unsigned NOT NULL DEFAULT 0,
+ `money` INT unsigned NOT NULL DEFAULT 0,
+ `skin` TINYINT unsigned NOT NULL DEFAULT 0,
+ `face` TINYINT unsigned NOT NULL DEFAULT 0,
+ `hairStyle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `hairColor` TINYINT unsigned NOT NULL DEFAULT 0,
+ `facialStyle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `bankSlots` TINYINT unsigned NOT NULL DEFAULT 0,
+ `restState` TINYINT unsigned NOT NULL DEFAULT 0,
+ `playerFlags` INT unsigned NOT NULL DEFAULT 0,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
- `map` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
- `instance_id` int(10) unsigned NOT NULL DEFAULT 0,
- `instance_mode_mask` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `map` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
+ `instance_id` INT unsigned NOT NULL DEFAULT 0,
+ `instance_mode_mask` TINYINT unsigned NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
`taximask` text NOT NULL,
- `online` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `cinematic` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `totaltime` int(10) unsigned NOT NULL DEFAULT 0,
- `leveltime` int(10) unsigned NOT NULL DEFAULT 0,
- `logout_time` int(10) unsigned NOT NULL DEFAULT 0,
- `is_logout_resting` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `online` TINYINT unsigned NOT NULL DEFAULT 0,
+ `cinematic` TINYINT unsigned NOT NULL DEFAULT 0,
+ `totaltime` INT unsigned NOT NULL DEFAULT 0,
+ `leveltime` INT unsigned NOT NULL DEFAULT 0,
+ `logout_time` INT unsigned NOT NULL DEFAULT 0,
+ `is_logout_resting` TINYINT unsigned NOT NULL DEFAULT 0,
`rest_bonus` float NOT NULL DEFAULT 0,
- `resettalents_cost` int(10) unsigned NOT NULL DEFAULT 0,
- `resettalents_time` int(10) unsigned NOT NULL DEFAULT 0,
+ `resettalents_cost` INT unsigned NOT NULL DEFAULT 0,
+ `resettalents_time` INT unsigned NOT NULL DEFAULT 0,
`trans_x` float NOT NULL DEFAULT 0,
`trans_y` float NOT NULL DEFAULT 0,
`trans_z` float NOT NULL DEFAULT 0,
`trans_o` float NOT NULL DEFAULT 0,
- `transguid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `extra_flags` smallint(5) unsigned NOT NULL DEFAULT 0,
- `stable_slots` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `at_login` smallint(5) unsigned NOT NULL DEFAULT 0,
- `zone` smallint(5) unsigned NOT NULL DEFAULT 0,
- `death_expire_time` int(10) unsigned NOT NULL DEFAULT 0,
+ `transguid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `extra_flags` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `stable_slots` TINYINT unsigned NOT NULL DEFAULT 0,
+ `at_login` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `zone` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `death_expire_time` INT unsigned NOT NULL DEFAULT 0,
`taxi_path` text DEFAULT NULL,
- `arenaPoints` int(10) unsigned NOT NULL DEFAULT 0,
- `totalHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
- `todayHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
- `yesterdayHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
- `totalKills` int(10) unsigned NOT NULL DEFAULT 0,
- `todayKills` smallint(5) unsigned NOT NULL DEFAULT 0,
- `yesterdayKills` smallint(5) unsigned NOT NULL DEFAULT 0,
- `chosenTitle` int(10) unsigned NOT NULL DEFAULT 0,
- `knownCurrencies` bigint(20) unsigned NOT NULL DEFAULT 0,
- `watchedFaction` int(10) unsigned NOT NULL DEFAULT 0,
- `drunk` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `health` int(10) unsigned NOT NULL DEFAULT 0,
- `power1` int(10) unsigned NOT NULL DEFAULT 0,
- `power2` int(10) unsigned NOT NULL DEFAULT 0,
- `power3` int(10) unsigned NOT NULL DEFAULT 0,
- `power4` int(10) unsigned NOT NULL DEFAULT 0,
- `power5` int(10) unsigned NOT NULL DEFAULT 0,
- `power6` int(10) unsigned NOT NULL DEFAULT 0,
- `power7` int(10) unsigned NOT NULL DEFAULT 0,
- `latency` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `arenaPoints` INT unsigned NOT NULL DEFAULT 0,
+ `totalHonorPoints` INT unsigned NOT NULL DEFAULT 0,
+ `todayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
+ `yesterdayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
+ `totalKills` INT unsigned NOT NULL DEFAULT 0,
+ `todayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `yesterdayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `chosenTitle` INT unsigned NOT NULL DEFAULT 0,
+ `knownCurrencies` BIGINT unsigned NOT NULL DEFAULT 0,
+ `watchedFaction` INT unsigned NOT NULL DEFAULT 0,
+ `drunk` TINYINT unsigned NOT NULL DEFAULT 0,
+ `health` INT unsigned NOT NULL DEFAULT 0,
+ `power1` INT unsigned NOT NULL DEFAULT 0,
+ `power2` INT unsigned NOT NULL DEFAULT 0,
+ `power3` INT unsigned NOT NULL DEFAULT 0,
+ `power4` INT unsigned NOT NULL DEFAULT 0,
+ `power5` INT unsigned NOT NULL DEFAULT 0,
+ `power6` INT unsigned NOT NULL DEFAULT 0,
+ `power7` INT unsigned NOT NULL DEFAULT 0,
+ `latency` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `talentGroupsCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `activeTalentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
`exploredZones` longtext DEFAULT NULL,
`equipmentCache` longtext DEFAULT NULL,
- `ammoId` int(10) unsigned NOT NULL DEFAULT 0,
+ `ammoId` INT unsigned NOT NULL DEFAULT 0,
`knownTitles` longtext DEFAULT NULL,
- `actionBars` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `actionBars` TINYINT unsigned NOT NULL DEFAULT 0,
+ `grantableLevels` TINYINT unsigned NOT NULL DEFAULT 0,
`creation_date` timestamp NOT NULL DEFAULT current_timestamp(),
- `deleteInfos_Account` int(10) unsigned DEFAULT NULL,
+ `deleteInfos_Account` INT unsigned DEFAULT NULL,
`deleteInfos_Name` varchar(12) DEFAULT NULL,
- `deleteDate` int(10) unsigned DEFAULT NULL,
+ `deleteDate` INT unsigned DEFAULT NULL,
PRIMARY KEY (`guid`),
KEY `idx_account` (`account`),
KEY `idx_online` (`online`),
KEY `idx_name` (`name`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `characters` WRITE;
diff --git a/data/sql/base/db_characters/corpse.sql b/data/sql/base/db_characters/corpse.sql
index 48ac7a1380..dc08e5b7fd 100644
--- a/data/sql/base/db_characters/corpse.sql
+++ b/data/sql/base/db_characters/corpse.sql
@@ -6,33 +6,33 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `corpse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `corpse`
(
- `corpseGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
+ `corpseGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
- `mapId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
- `phaseMask` int(10) unsigned NOT NULL DEFAULT 1,
- `displayId` int(10) unsigned NOT NULL DEFAULT 0,
+ `mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
+ `phaseMask` INT unsigned NOT NULL DEFAULT 1,
+ `displayId` INT unsigned NOT NULL DEFAULT 0,
`itemCache` text NOT NULL,
- `bytes1` int(10) unsigned NOT NULL DEFAULT 0,
- `bytes2` int(10) unsigned NOT NULL DEFAULT 0,
- `guildId` int(10) unsigned NOT NULL DEFAULT 0,
- `flags` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `dynFlags` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `time` int(10) unsigned NOT NULL DEFAULT 0,
- `corpseType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
+ `bytes1` INT unsigned NOT NULL DEFAULT 0,
+ `bytes2` INT unsigned NOT NULL DEFAULT 0,
+ `guildId` INT unsigned NOT NULL DEFAULT 0,
+ `flags` TINYINT unsigned NOT NULL DEFAULT 0,
+ `dynFlags` TINYINT unsigned NOT NULL DEFAULT 0,
+ `time` INT unsigned NOT NULL DEFAULT 0,
+ `corpseType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
PRIMARY KEY (`corpseGuid`),
KEY `idx_type` (`corpseType`),
KEY `idx_instance` (`instanceId`),
KEY `idx_player` (`guid`),
KEY `idx_time` (`time`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Death System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Death System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `corpse` WRITE;
diff --git a/data/sql/base/db_characters/creature_respawn.sql b/data/sql/base/db_characters/creature_respawn.sql
index 177fa42082..358639cb24 100644
--- a/data/sql/base/db_characters/creature_respawn.sql
+++ b/data/sql/base/db_characters/creature_respawn.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_respawn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_respawn`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `respawnTime` int(10) unsigned NOT NULL DEFAULT 0,
- `mapId` smallint(10) unsigned NOT NULL DEFAULT 0,
- `instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `respawnTime` INT unsigned NOT NULL DEFAULT 0,
+ `mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`,`instanceId`),
KEY `idx_instance` (`instanceId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Grid Loading System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_respawn` WRITE;
diff --git a/data/sql/base/db_characters/game_event_condition_save.sql b/data/sql/base/db_characters/game_event_condition_save.sql
index ef7c8b2db6..5635ba2e7d 100644
--- a/data/sql/base/db_characters/game_event_condition_save.sql
+++ b/data/sql/base/db_characters/game_event_condition_save.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_condition_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_condition_save`
(
- `eventEntry` tinyint(3) unsigned NOT NULL,
- `condition_id` int(10) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL,
+ `condition_id` INT unsigned NOT NULL DEFAULT 0,
`done` float DEFAULT 0,
PRIMARY KEY (`eventEntry`,`condition_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_condition_save` WRITE;
diff --git a/data/sql/base/db_characters/game_event_save.sql b/data/sql/base/db_characters/game_event_save.sql
index 11f60e1797..e760166cf9 100644
--- a/data/sql/base/db_characters/game_event_save.sql
+++ b/data/sql/base/db_characters/game_event_save.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_save`
(
- `eventEntry` tinyint(3) unsigned NOT NULL,
- `state` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `next_start` int(10) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL,
+ `state` TINYINT unsigned NOT NULL DEFAULT 1,
+ `next_start` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`eventEntry`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_save` WRITE;
diff --git a/data/sql/base/db_characters/gameobject_respawn.sql b/data/sql/base/db_characters/gameobject_respawn.sql
index df7559634b..16eab7e4cb 100644
--- a/data/sql/base/db_characters/gameobject_respawn.sql
+++ b/data/sql/base/db_characters/gameobject_respawn.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_respawn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_respawn`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `respawnTime` int(10) unsigned NOT NULL DEFAULT 0,
- `mapId` smallint(10) unsigned NOT NULL DEFAULT 0,
- `instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `respawnTime` INT unsigned NOT NULL DEFAULT 0,
+ `mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`,`instanceId`),
KEY `idx_instance` (`instanceId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Grid Loading System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_respawn` WRITE;
diff --git a/data/sql/base/db_characters/gm_subsurvey.sql b/data/sql/base/db_characters/gm_subsurvey.sql
index 353427bed1..fe27f4e985 100644
--- a/data/sql/base/db_characters/gm_subsurvey.sql
+++ b/data/sql/base/db_characters/gm_subsurvey.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gm_subsurvey`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gm_subsurvey`
(
- `surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `questionId` int(10) unsigned NOT NULL DEFAULT 0,
- `answer` int(10) unsigned NOT NULL DEFAULT 0,
+ `surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
+ `questionId` INT unsigned NOT NULL DEFAULT 0,
+ `answer` INT unsigned NOT NULL DEFAULT 0,
`answerComment` text NOT NULL,
PRIMARY KEY (`surveyId`,`questionId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gm_subsurvey` WRITE;
diff --git a/data/sql/base/db_characters/gm_survey.sql b/data/sql/base/db_characters/gm_survey.sql
index 44d9043929..61852010fe 100644
--- a/data/sql/base/db_characters/gm_survey.sql
+++ b/data/sql/base/db_characters/gm_survey.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gm_survey`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gm_survey`
(
- `surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `mainSurvey` int(10) unsigned NOT NULL DEFAULT 0,
+ `surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `mainSurvey` INT unsigned NOT NULL DEFAULT 0,
`comment` longtext NOT NULL,
- `createTime` int(10) unsigned NOT NULL DEFAULT 0,
- `maxMMR` smallint(5) NOT NULL,
+ `createTime` INT unsigned NOT NULL DEFAULT 0,
+ `maxMMR` SMALLINT NOT NULL,
PRIMARY KEY (`surveyId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gm_survey` WRITE;
diff --git a/data/sql/base/db_characters/gm_ticket.sql b/data/sql/base/db_characters/gm_ticket.sql
index 4994d3e5b6..53359dbc6d 100644
--- a/data/sql/base/db_characters/gm_ticket.sql
+++ b/data/sql/base/db_characters/gm_ticket.sql
@@ -6,31 +6,31 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gm_ticket`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gm_ticket`
(
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT '0 open, 1 closed, 2 character deleted',
- `playerGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier of ticket creator',
+ `id` INT unsigned NOT NULL AUTO_INCREMENT,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT '0 open, 1 closed, 2 character deleted',
+ `playerGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier of ticket creator',
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
`description` text NOT NULL,
- `createTime` int(10) unsigned NOT NULL DEFAULT 0,
- `mapId` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `createTime` INT unsigned NOT NULL DEFAULT 0,
+ `mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
- `lastModifiedTime` int(10) unsigned NOT NULL DEFAULT 0,
- `closedBy` int(10) unsigned NOT NULL DEFAULT 0,
- `assignedTo` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
+ `lastModifiedTime` INT unsigned NOT NULL DEFAULT 0,
+ `closedBy` INT unsigned NOT NULL DEFAULT 0,
+ `assignedTo` INT unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
`comment` text NOT NULL,
`response` text NOT NULL,
- `completed` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `escalated` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `viewed` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `resolvedBy` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
+ `completed` TINYINT unsigned NOT NULL DEFAULT 0,
+ `escalated` TINYINT unsigned NOT NULL DEFAULT 0,
+ `viewed` TINYINT unsigned NOT NULL DEFAULT 0,
+ `needMoreHelp` TINYINT unsigned NOT NULL DEFAULT 0,
+ `resolvedBy` INT unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gm_ticket` WRITE;
diff --git a/data/sql/base/db_characters/group_member.sql b/data/sql/base/db_characters/group_member.sql
index 5eaa2ee281..49392266c6 100644
--- a/data/sql/base/db_characters/group_member.sql
+++ b/data/sql/base/db_characters/group_member.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `group_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `group_member`
(
- `guid` int(10) unsigned NOT NULL,
- `memberGuid` int(10) unsigned NOT NULL,
- `memberFlags` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `subgroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `roles` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `memberGuid` INT unsigned NOT NULL,
+ `memberFlags` TINYINT unsigned NOT NULL DEFAULT 0,
+ `subgroup` TINYINT unsigned NOT NULL DEFAULT 0,
+ `roles` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`memberGuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Groups';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `group_member` WRITE;
diff --git a/data/sql/base/db_characters/groups.sql b/data/sql/base/db_characters/groups.sql
index efca649aa1..a8a5a1f8c1 100644
--- a/data/sql/base/db_characters/groups.sql
+++ b/data/sql/base/db_characters/groups.sql
@@ -6,29 +6,29 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `groups`
(
- `guid` int(10) unsigned NOT NULL,
- `leaderGuid` int(10) unsigned NOT NULL,
- `lootMethod` tinyint(3) unsigned NOT NULL,
- `looterGuid` int(10) unsigned NOT NULL,
- `lootThreshold` tinyint(3) unsigned NOT NULL,
- `icon1` int(10) unsigned NOT NULL,
- `icon2` int(10) unsigned NOT NULL,
- `icon3` int(10) unsigned NOT NULL,
- `icon4` int(10) unsigned NOT NULL,
- `icon5` int(10) unsigned NOT NULL,
- `icon6` int(10) unsigned NOT NULL,
- `icon7` int(10) unsigned NOT NULL,
- `icon8` int(10) unsigned NOT NULL,
- `groupType` tinyint(3) unsigned NOT NULL,
- `difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `masterLooterGuid` int(10) unsigned NOT NULL,
+ `guid` INT unsigned NOT NULL,
+ `leaderGuid` INT unsigned NOT NULL,
+ `lootMethod` TINYINT unsigned NOT NULL,
+ `looterGuid` INT unsigned NOT NULL,
+ `lootThreshold` TINYINT unsigned NOT NULL,
+ `icon1` INT unsigned NOT NULL,
+ `icon2` INT unsigned NOT NULL,
+ `icon3` INT unsigned NOT NULL,
+ `icon4` INT unsigned NOT NULL,
+ `icon5` INT unsigned NOT NULL,
+ `icon6` INT unsigned NOT NULL,
+ `icon7` INT unsigned NOT NULL,
+ `icon8` INT unsigned NOT NULL,
+ `groupType` TINYINT unsigned NOT NULL,
+ `difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
+ `raidDifficulty` TINYINT unsigned NOT NULL DEFAULT 0,
+ `masterLooterGuid` INT unsigned NOT NULL,
PRIMARY KEY (`guid`),
KEY `leaderGuid` (`leaderGuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Groups';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `groups` WRITE;
diff --git a/data/sql/base/db_characters/guild.sql b/data/sql/base/db_characters/guild.sql
index 2ed57d09b5..92b09ce28c 100644
--- a/data/sql/base/db_characters/guild.sql
+++ b/data/sql/base/db_characters/guild.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild`
(
- `guildid` int(10) unsigned NOT NULL DEFAULT 0,
+ `guildid` INT unsigned NOT NULL DEFAULT 0,
`name` varchar(24) NOT NULL DEFAULT '',
- `leaderguid` int(10) unsigned NOT NULL DEFAULT 0,
- `EmblemStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `EmblemColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `BorderStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `BorderColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `BackgroundColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `leaderguid` INT unsigned NOT NULL DEFAULT 0,
+ `EmblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `EmblemColor` TINYINT unsigned NOT NULL DEFAULT 0,
+ `BorderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `BorderColor` TINYINT unsigned NOT NULL DEFAULT 0,
+ `BackgroundColor` TINYINT unsigned NOT NULL DEFAULT 0,
`info` varchar(500) NOT NULL DEFAULT '',
`motd` varchar(128) NOT NULL DEFAULT '',
- `createdate` int(10) unsigned NOT NULL DEFAULT 0,
- `BankMoney` bigint(20) unsigned NOT NULL DEFAULT 0,
+ `createdate` INT unsigned NOT NULL DEFAULT 0,
+ `BankMoney` BIGINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild` WRITE;
diff --git a/data/sql/base/db_characters/guild_bank_eventlog.sql b/data/sql/base/db_characters/guild_bank_eventlog.sql
index 07882e1e28..a522911236 100644
--- a/data/sql/base/db_characters/guild_bank_eventlog.sql
+++ b/data/sql/base/db_characters/guild_bank_eventlog.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_eventlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_bank_eventlog`
(
- `guildid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Guild Identificator',
- `LogGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Log record identificator - auxiliary column',
- `TabId` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Guild bank TabId',
- `EventType` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Event type',
- `PlayerGuid` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemOrMoney` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemStackCount` smallint(5) unsigned NOT NULL DEFAULT 0,
- `DestTabId` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Destination Tab Id',
- `TimeStamp` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Event UNIX time',
+ `guildid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild Identificator',
+ `LogGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Log record identificator - auxiliary column',
+ `TabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild bank TabId',
+ `EventType` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Event type',
+ `PlayerGuid` INT unsigned NOT NULL DEFAULT 0,
+ `ItemOrMoney` INT unsigned NOT NULL DEFAULT 0,
+ `ItemStackCount` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `DestTabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Destination Tab Id',
+ `TimeStamp` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_PlayerGuid` (`PlayerGuid`),
KEY `Idx_LogGuid` (`LogGuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_eventlog` WRITE;
diff --git a/data/sql/base/db_characters/guild_bank_item.sql b/data/sql/base/db_characters/guild_bank_item.sql
index 06c53b6c41..eabfa77078 100644
--- a/data/sql/base/db_characters/guild_bank_item.sql
+++ b/data/sql/base/db_characters/guild_bank_item.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_bank_item`
(
- `guildid` int(10) unsigned NOT NULL DEFAULT 0,
- `TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `SlotId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `item_guid` int(10) unsigned NOT NULL DEFAULT 0,
+ `guildid` INT unsigned NOT NULL DEFAULT 0,
+ `TabId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `SlotId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `item_guid` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_item_guid` (`item_guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_item` WRITE;
diff --git a/data/sql/base/db_characters/guild_bank_right.sql b/data/sql/base/db_characters/guild_bank_right.sql
index 0a0c96f811..4e80037992 100644
--- a/data/sql/base/db_characters/guild_bank_right.sql
+++ b/data/sql/base/db_characters/guild_bank_right.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_right`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_bank_right`
(
- `guildid` int(10) unsigned NOT NULL DEFAULT 0,
- `TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `rid` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `gbright` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `SlotPerDay` int(10) unsigned NOT NULL DEFAULT 0,
+ `guildid` INT unsigned NOT NULL DEFAULT 0,
+ `TabId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `rid` TINYINT unsigned NOT NULL DEFAULT 0,
+ `gbright` TINYINT unsigned NOT NULL DEFAULT 0,
+ `SlotPerDay` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`TabId`,`rid`),
KEY `guildid_key` (`guildid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_right` WRITE;
diff --git a/data/sql/base/db_characters/guild_bank_tab.sql b/data/sql/base/db_characters/guild_bank_tab.sql
index 3af92a59af..4003a1a1b8 100644
--- a/data/sql/base/db_characters/guild_bank_tab.sql
+++ b/data/sql/base/db_characters/guild_bank_tab.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_tab`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_bank_tab`
(
- `guildid` int(10) unsigned NOT NULL DEFAULT 0,
- `TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guildid` INT unsigned NOT NULL DEFAULT 0,
+ `TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`TabName` varchar(16) NOT NULL DEFAULT '',
`TabIcon` varchar(100) NOT NULL DEFAULT '',
`TabText` varchar(500) DEFAULT NULL,
PRIMARY KEY (`guildid`,`TabId`),
KEY `guildid_key` (`guildid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_tab` WRITE;
diff --git a/data/sql/base/db_characters/guild_eventlog.sql b/data/sql/base/db_characters/guild_eventlog.sql
index 12c220b403..7b43b424bc 100644
--- a/data/sql/base/db_characters/guild_eventlog.sql
+++ b/data/sql/base/db_characters/guild_eventlog.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_eventlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_eventlog`
(
- `guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator',
- `LogGuid` int(10) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
- `EventType` tinyint(3) unsigned NOT NULL COMMENT 'Event type',
- `PlayerGuid1` int(10) unsigned NOT NULL COMMENT 'Player 1',
- `PlayerGuid2` int(10) unsigned NOT NULL COMMENT 'Player 2',
- `NewRank` tinyint(3) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
- `TimeStamp` int(10) unsigned NOT NULL COMMENT 'Event UNIX time',
+ `guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
+ `LogGuid` INT unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
+ `EventType` TINYINT unsigned NOT NULL COMMENT 'Event type',
+ `PlayerGuid1` INT unsigned NOT NULL COMMENT 'Player 1',
+ `PlayerGuid2` INT unsigned NOT NULL COMMENT 'Player 2',
+ `NewRank` TINYINT unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
+ `TimeStamp` INT unsigned NOT NULL COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`),
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
KEY `Idx_LogGuid` (`LogGuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Eventlog';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild Eventlog';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_eventlog` WRITE;
diff --git a/data/sql/base/db_characters/guild_member.sql b/data/sql/base/db_characters/guild_member.sql
index 838cc7e532..4872f82e3e 100644
--- a/data/sql/base/db_characters/guild_member.sql
+++ b/data/sql/base/db_characters/guild_member.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_member`
(
- `guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator',
- `guid` int(10) unsigned NOT NULL,
- `rank` tinyint(3) unsigned NOT NULL,
+ `guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
+ `guid` INT unsigned NOT NULL,
+ `rank` TINYINT unsigned NOT NULL,
`pnote` varchar(31) NOT NULL DEFAULT '',
`offnote` varchar(31) NOT NULL DEFAULT '',
UNIQUE KEY `guid_key` (`guid`),
KEY `guildid_key` (`guildid`),
KEY `guildid_rank_key` (`guildid`,`rank`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_member` WRITE;
diff --git a/data/sql/base/db_characters/guild_member_withdraw.sql b/data/sql/base/db_characters/guild_member_withdraw.sql
index a2b9b8c4fb..ffc7c4f05a 100644
--- a/data/sql/base/db_characters/guild_member_withdraw.sql
+++ b/data/sql/base/db_characters/guild_member_withdraw.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_member_withdraw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_member_withdraw`
(
- `guid` int(10) unsigned NOT NULL,
- `tab0` int(10) unsigned NOT NULL DEFAULT 0,
- `tab1` int(10) unsigned NOT NULL DEFAULT 0,
- `tab2` int(10) unsigned NOT NULL DEFAULT 0,
- `tab3` int(10) unsigned NOT NULL DEFAULT 0,
- `tab4` int(10) unsigned NOT NULL DEFAULT 0,
- `tab5` int(10) unsigned NOT NULL DEFAULT 0,
- `money` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL,
+ `tab0` INT unsigned NOT NULL DEFAULT 0,
+ `tab1` INT unsigned NOT NULL DEFAULT 0,
+ `tab2` INT unsigned NOT NULL DEFAULT 0,
+ `tab3` INT unsigned NOT NULL DEFAULT 0,
+ `tab4` INT unsigned NOT NULL DEFAULT 0,
+ `tab5` INT unsigned NOT NULL DEFAULT 0,
+ `money` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Member Daily Withdraws';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild Member Daily Withdraws';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_member_withdraw` WRITE;
diff --git a/data/sql/base/db_characters/guild_rank.sql b/data/sql/base/db_characters/guild_rank.sql
index 5e153692da..4d0f637b9f 100644
--- a/data/sql/base/db_characters/guild_rank.sql
+++ b/data/sql/base/db_characters/guild_rank.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_rank`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_rank`
(
- `guildid` int(10) unsigned NOT NULL DEFAULT 0,
- `rid` tinyint(3) unsigned NOT NULL,
+ `guildid` INT unsigned NOT NULL DEFAULT 0,
+ `rid` TINYINT unsigned NOT NULL,
`rname` varchar(20) NOT NULL DEFAULT '',
- `rights` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `BankMoneyPerDay` int(10) unsigned NOT NULL DEFAULT 0,
+ `rights` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `BankMoneyPerDay` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`rid`),
KEY `Idx_rid` (`rid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_rank` WRITE;
diff --git a/data/sql/base/db_characters/instance.sql b/data/sql/base/db_characters/instance.sql
index 7971e9d6b0..4a7f0d2358 100644
--- a/data/sql/base/db_characters/instance.sql
+++ b/data/sql/base/db_characters/instance.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `instance`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0,
- `map` smallint(5) unsigned NOT NULL DEFAULT 0,
- `resettime` int(10) unsigned NOT NULL DEFAULT 0,
- `difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `completedEncounters` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `map` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `resettime` INT unsigned NOT NULL DEFAULT 0,
+ `difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
+ `completedEncounters` INT unsigned NOT NULL DEFAULT 0,
`data` tinytext NOT NULL,
PRIMARY KEY (`id`),
KEY `map` (`map`),
KEY `resettime` (`resettime`),
KEY `difficulty` (`difficulty`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `instance` WRITE;
diff --git a/data/sql/base/db_characters/instance_reset.sql b/data/sql/base/db_characters/instance_reset.sql
index 5495b4a36d..dca4672968 100644
--- a/data/sql/base/db_characters/instance_reset.sql
+++ b/data/sql/base/db_characters/instance_reset.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `instance_reset`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `instance_reset`
(
- `mapid` smallint(5) unsigned NOT NULL DEFAULT 0,
- `difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `resettime` int(10) unsigned NOT NULL DEFAULT 0,
+ `mapid` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
+ `resettime` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`mapid`,`difficulty`),
KEY `difficulty` (`difficulty`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `instance_reset` WRITE;
diff --git a/data/sql/base/db_characters/item_instance.sql b/data/sql/base/db_characters/item_instance.sql
index d1f041301d..a683369743 100644
--- a/data/sql/base/db_characters/item_instance.sql
+++ b/data/sql/base/db_characters/item_instance.sql
@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_instance`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `itemEntry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `owner_guid` int(10) unsigned NOT NULL DEFAULT 0,
- `creatorGuid` int(10) unsigned NOT NULL DEFAULT 0,
- `giftCreatorGuid` int(10) unsigned NOT NULL DEFAULT 0,
- `count` int(10) unsigned NOT NULL DEFAULT 1,
- `duration` int(10) NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `itemEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `owner_guid` INT unsigned NOT NULL DEFAULT 0,
+ `creatorGuid` INT unsigned NOT NULL DEFAULT 0,
+ `giftCreatorGuid` INT unsigned NOT NULL DEFAULT 0,
+ `count` INT unsigned NOT NULL DEFAULT 1,
+ `duration` INT NOT NULL DEFAULT 0,
`charges` tinytext DEFAULT NULL,
- `flags` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `flags` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`enchantments` text NOT NULL,
- `randomPropertyId` smallint(5) NOT NULL DEFAULT 0,
- `durability` smallint(5) unsigned NOT NULL DEFAULT 0,
- `playedTime` int(10) unsigned NOT NULL DEFAULT 0,
+ `randomPropertyId` SMALLINT NOT NULL DEFAULT 0,
+ `durability` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `playedTime` INT unsigned NOT NULL DEFAULT 0,
`text` text DEFAULT NULL,
PRIMARY KEY (`guid`),
KEY `idx_owner_guid` (`owner_guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Item System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_instance` WRITE;
diff --git a/data/sql/base/db_characters/item_loot_storage.sql b/data/sql/base/db_characters/item_loot_storage.sql
index 15cbb3e76a..1d907ad382 100644
--- a/data/sql/base/db_characters/item_loot_storage.sql
+++ b/data/sql/base/db_characters/item_loot_storage.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_loot_storage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_loot_storage`
(
- `containerGUID` int(10) unsigned NOT NULL,
- `itemid` int(10) unsigned NOT NULL,
- `count` int(10) unsigned NOT NULL,
- `randomPropertyId` int(10) NOT NULL,
- `randomSuffix` int(10) unsigned NOT NULL
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+ `containerGUID` INT unsigned NOT NULL,
+ `itemid` INT unsigned NOT NULL,
+ `count` INT unsigned NOT NULL,
+ `randomPropertyId` INT NOT NULL,
+ `randomSuffix` INT unsigned NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_loot_storage` WRITE;
diff --git a/data/sql/base/db_characters/item_refund_instance.sql b/data/sql/base/db_characters/item_refund_instance.sql
index 81a714bf3f..eeb2612a14 100644
--- a/data/sql/base/db_characters/item_refund_instance.sql
+++ b/data/sql/base/db_characters/item_refund_instance.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_refund_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_refund_instance`
(
- `item_guid` int(10) unsigned NOT NULL COMMENT 'Item GUID',
- `player_guid` int(10) unsigned NOT NULL COMMENT 'Player GUID',
- `paidMoney` int(10) unsigned NOT NULL DEFAULT 0,
- `paidExtendedCost` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `item_guid` INT unsigned NOT NULL COMMENT 'Item GUID',
+ `player_guid` INT unsigned NOT NULL COMMENT 'Player GUID',
+ `paidMoney` INT unsigned NOT NULL DEFAULT 0,
+ `paidExtendedCost` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`item_guid`,`player_guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Item Refund System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_refund_instance` WRITE;
diff --git a/data/sql/base/db_characters/item_soulbound_trade_data.sql b/data/sql/base/db_characters/item_soulbound_trade_data.sql
index 7c6d477ab7..a3c7c424eb 100644
--- a/data/sql/base/db_characters/item_soulbound_trade_data.sql
+++ b/data/sql/base/db_characters/item_soulbound_trade_data.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_soulbound_trade_data`
(
- `itemGuid` int(10) unsigned NOT NULL COMMENT 'Item GUID',
+ `itemGuid` INT unsigned NOT NULL COMMENT 'Item GUID',
`allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
PRIMARY KEY (`itemGuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Item Refund System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_soulbound_trade_data` WRITE;
diff --git a/data/sql/base/db_characters/lag_reports.sql b/data/sql/base/db_characters/lag_reports.sql
index e18a3c0141..3817354a45 100644
--- a/data/sql/base/db_characters/lag_reports.sql
+++ b/data/sql/base/db_characters/lag_reports.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lag_reports`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `lag_reports`
(
- `reportId` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `lagType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `mapId` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `reportId` INT unsigned NOT NULL AUTO_INCREMENT,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `lagType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
- `latency` int(10) unsigned NOT NULL DEFAULT 0,
- `createTime` int(10) unsigned NOT NULL DEFAULT 0,
+ `latency` INT unsigned NOT NULL DEFAULT 0,
+ `createTime` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`reportId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lag_reports` WRITE;
diff --git a/data/sql/base/db_characters/lfg_data.sql b/data/sql/base/db_characters/lfg_data.sql
index b2decaf5e0..7f8c25b9eb 100644
--- a/data/sql/base/db_characters/lfg_data.sql
+++ b/data/sql/base/db_characters/lfg_data.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lfg_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `lfg_data`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `dungeon` int(10) unsigned NOT NULL DEFAULT 0,
- `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `dungeon` INT unsigned NOT NULL DEFAULT 0,
+ `state` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='LFG Data';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='LFG Data';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lfg_data` WRITE;
diff --git a/data/sql/base/db_characters/log_arena_fights.sql b/data/sql/base/db_characters/log_arena_fights.sql
index 7f540befc3..622f446d1c 100644
--- a/data/sql/base/db_characters/log_arena_fights.sql
+++ b/data/sql/base/db_characters/log_arena_fights.sql
@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_arena_fights`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_arena_fights`
(
- `fight_id` int(10) unsigned NOT NULL,
+ `fight_id` INT unsigned NOT NULL,
`time` datetime NOT NULL,
- `type` tinyint(3) unsigned NOT NULL,
- `duration` int(10) unsigned NOT NULL,
- `winner` int(10) unsigned NOT NULL,
- `loser` int(10) unsigned NOT NULL,
- `winner_tr` smallint(5) unsigned NOT NULL,
- `winner_mmr` smallint(5) unsigned NOT NULL,
- `winner_tr_change` smallint(6) NOT NULL,
- `loser_tr` smallint(5) unsigned NOT NULL,
- `loser_mmr` smallint(5) unsigned NOT NULL,
- `loser_tr_change` smallint(6) NOT NULL,
- `currOnline` int(10) unsigned NOT NULL,
+ `type` TINYINT unsigned NOT NULL,
+ `duration` INT unsigned NOT NULL,
+ `winner` INT unsigned NOT NULL,
+ `loser` INT unsigned NOT NULL,
+ `winner_tr` SMALLINT unsigned NOT NULL,
+ `winner_mmr` SMALLINT unsigned NOT NULL,
+ `winner_tr_change` SMALLINT NOT NULL,
+ `loser_tr` SMALLINT unsigned NOT NULL,
+ `loser_mmr` SMALLINT unsigned NOT NULL,
+ `loser_tr_change` SMALLINT NOT NULL,
+ `currOnline` INT unsigned NOT NULL,
PRIMARY KEY (`fight_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `log_arena_fights` WRITE;
diff --git a/data/sql/base/db_characters/log_arena_memberstats.sql b/data/sql/base/db_characters/log_arena_memberstats.sql
index ca9462abb6..bbf3ddd96d 100644
--- a/data/sql/base/db_characters/log_arena_memberstats.sql
+++ b/data/sql/base/db_characters/log_arena_memberstats.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_arena_memberstats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_arena_memberstats`
(
- `fight_id` int(10) unsigned NOT NULL,
- `member_id` tinyint(3) unsigned NOT NULL,
+ `fight_id` INT unsigned NOT NULL,
+ `member_id` TINYINT unsigned NOT NULL,
`name` char(20) NOT NULL,
- `guid` int(10) unsigned NOT NULL,
- `team` int(10) unsigned NOT NULL,
- `account` int(10) unsigned NOT NULL,
+ `guid` INT unsigned NOT NULL,
+ `team` INT unsigned NOT NULL,
+ `account` INT unsigned NOT NULL,
`ip` char(15) NOT NULL,
- `damage` int(10) unsigned NOT NULL,
- `heal` int(10) unsigned NOT NULL,
- `kblows` int(10) unsigned NOT NULL,
+ `damage` INT unsigned NOT NULL,
+ `heal` INT unsigned NOT NULL,
+ `kblows` INT unsigned NOT NULL,
PRIMARY KEY (`fight_id`,`member_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `log_arena_memberstats` WRITE;
diff --git a/data/sql/base/db_characters/log_encounter.sql b/data/sql/base/db_characters/log_encounter.sql
index 1dbefd7fb2..e90bacfd13 100644
--- a/data/sql/base/db_characters/log_encounter.sql
+++ b/data/sql/base/db_characters/log_encounter.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_encounter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_encounter`
(
`time` datetime NOT NULL,
- `map` smallint(5) unsigned NOT NULL,
- `difficulty` tinyint(3) unsigned NOT NULL,
- `creditType` tinyint(3) unsigned NOT NULL,
- `creditEntry` int(10) unsigned NOT NULL,
+ `map` SMALLINT unsigned NOT NULL,
+ `difficulty` TINYINT unsigned NOT NULL,
+ `creditType` TINYINT unsigned NOT NULL,
+ `creditEntry` INT unsigned NOT NULL,
`playersInfo` text NOT NULL
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `log_encounter` WRITE;
diff --git a/data/sql/base/db_characters/log_money.sql b/data/sql/base/db_characters/log_money.sql
index 94f57ce0b7..e688b91f2e 100644
--- a/data/sql/base/db_characters/log_money.sql
+++ b/data/sql/base/db_characters/log_money.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_money`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_money`
(
- `sender_acc` int(11) unsigned NOT NULL,
- `sender_guid` int(11) unsigned NOT NULL,
- `sender_name` char(32) CHARACTER SET utf8 NOT NULL,
- `sender_ip` char(32) CHARACTER SET utf8 NOT NULL,
- `receiver_acc` int(11) unsigned NOT NULL,
- `receiver_name` char(32) CHARACTER SET utf8 NOT NULL,
- `money` bigint(20) unsigned NOT NULL,
- `topic` char(255) CHARACTER SET utf8 NOT NULL,
+ `sender_acc` INT unsigned NOT NULL,
+ `sender_guid` INT unsigned NOT NULL,
+ `sender_name` char(32) CHARACTER SET UTF8MB4 NOT NULL,
+ `sender_ip` char(32) CHARACTER SET UTF8MB4 NOT NULL,
+ `receiver_acc` INT unsigned NOT NULL,
+ `receiver_name` char(32) CHARACTER SET UTF8MB4 NOT NULL,
+ `money` BIGINT unsigned NOT NULL,
+ `topic` char(255) CHARACTER SET UTF8MB4 NOT NULL,
`date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
diff --git a/data/sql/base/db_characters/mail.sql b/data/sql/base/db_characters/mail.sql
index f6b66fb8f8..a556b61ed4 100644
--- a/data/sql/base/db_characters/mail.sql
+++ b/data/sql/base/db_characters/mail.sql
@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `mail`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
- `messageType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stationery` tinyint(3) NOT NULL DEFAULT 41,
- `mailTemplateId` smallint(5) unsigned NOT NULL DEFAULT 0,
- `sender` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
- `receiver` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
+ `id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
+ `messageType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stationery` TINYINT NOT NULL DEFAULT 41,
+ `mailTemplateId` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `sender` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
+ `receiver` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`subject` longtext DEFAULT NULL,
`body` longtext DEFAULT NULL,
- `has_items` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `expire_time` int(10) unsigned NOT NULL DEFAULT 0,
- `deliver_time` int(10) unsigned NOT NULL DEFAULT 0,
- `money` int(10) unsigned NOT NULL DEFAULT 0,
- `cod` int(10) unsigned NOT NULL DEFAULT 0,
- `checked` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `has_items` TINYINT unsigned NOT NULL DEFAULT 0,
+ `expire_time` INT unsigned NOT NULL DEFAULT 0,
+ `deliver_time` INT unsigned NOT NULL DEFAULT 0,
+ `money` INT unsigned NOT NULL DEFAULT 0,
+ `cod` INT unsigned NOT NULL DEFAULT 0,
+ `checked` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `idx_receiver` (`receiver`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mail System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Mail System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mail` WRITE;
diff --git a/data/sql/base/db_characters/mail_items.sql b/data/sql/base/db_characters/mail_items.sql
index 814e924d7f..75794bd5d6 100644
--- a/data/sql/base/db_characters/mail_items.sql
+++ b/data/sql/base/db_characters/mail_items.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mail_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `mail_items`
(
- `mail_id` int(10) unsigned NOT NULL DEFAULT 0,
- `item_guid` int(10) unsigned NOT NULL DEFAULT 0,
- `receiver` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
+ `mail_id` INT unsigned NOT NULL DEFAULT 0,
+ `item_guid` INT unsigned NOT NULL DEFAULT 0,
+ `receiver` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
PRIMARY KEY (`item_guid`),
KEY `idx_receiver` (`receiver`),
KEY `idx_mail_id` (`mail_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mail_items` WRITE;
diff --git a/data/sql/base/db_characters/pet_aura.sql b/data/sql/base/db_characters/pet_aura.sql
index c2a3d8ed43..2eeca26b68 100644
--- a/data/sql/base/db_characters/pet_aura.sql
+++ b/data/sql/base/db_characters/pet_aura.sql
@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pet_aura`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `casterGuid` bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `effectMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stackCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `amount0` mediumint(8) NOT NULL,
- `amount1` mediumint(8) NOT NULL,
- `amount2` mediumint(8) NOT NULL,
- `base_amount0` mediumint(8) NOT NULL,
- `base_amount1` mediumint(8) NOT NULL,
- `base_amount2` mediumint(8) NOT NULL,
- `maxDuration` int(11) NOT NULL DEFAULT 0,
- `remainTime` int(11) NOT NULL DEFAULT 0,
- `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
+ `recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `amount0` MEDIUMINT NOT NULL,
+ `amount1` MEDIUMINT NOT NULL,
+ `amount2` MEDIUMINT NOT NULL,
+ `base_amount0` MEDIUMINT NOT NULL,
+ `base_amount1` MEDIUMINT NOT NULL,
+ `base_amount2` MEDIUMINT NOT NULL,
+ `maxDuration` INT NOT NULL DEFAULT 0,
+ `remainTime` INT NOT NULL DEFAULT 0,
+ `remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`,`effectMask`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_aura` WRITE;
diff --git a/data/sql/base/db_characters/pet_spell.sql b/data/sql/base/db_characters/pet_spell.sql
index ce2ee9564c..9f579c979f 100644
--- a/data/sql/base/db_characters/pet_spell.sql
+++ b/data/sql/base/db_characters/pet_spell.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pet_spell`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
- `active` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
+ `active` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_spell` WRITE;
diff --git a/data/sql/base/db_characters/pet_spell_cooldown.sql b/data/sql/base/db_characters/pet_spell_cooldown.sql
index 3fcd4b51a1..ef27ac77c9 100644
--- a/data/sql/base/db_characters/pet_spell_cooldown.sql
+++ b/data/sql/base/db_characters/pet_spell_cooldown.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_spell_cooldown`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pet_spell_cooldown`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
- `time` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
+ `time` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_spell_cooldown` WRITE;
diff --git a/data/sql/base/db_characters/petition.sql b/data/sql/base/db_characters/petition.sql
index 8cd6148bd0..e2953ce646 100644
--- a/data/sql/base/db_characters/petition.sql
+++ b/data/sql/base/db_characters/petition.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `petition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `petition`
(
- `ownerguid` int(10) unsigned NOT NULL,
- `petitionguid` int(10) unsigned DEFAULT 0,
+ `ownerguid` INT unsigned NOT NULL,
+ `petitionguid` INT unsigned DEFAULT 0,
`name` varchar(24) NOT NULL,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ownerguid`,`type`),
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `petition` WRITE;
diff --git a/data/sql/base/db_characters/petition_sign.sql b/data/sql/base/db_characters/petition_sign.sql
index fb8c7270bf..148651bd93 100644
--- a/data/sql/base/db_characters/petition_sign.sql
+++ b/data/sql/base/db_characters/petition_sign.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `petition_sign`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `petition_sign`
(
- `ownerguid` int(10) unsigned NOT NULL,
- `petitionguid` int(10) unsigned NOT NULL DEFAULT 0,
- `playerguid` int(10) unsigned NOT NULL DEFAULT 0,
- `player_account` int(10) unsigned NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `ownerguid` INT unsigned NOT NULL,
+ `petitionguid` INT unsigned NOT NULL DEFAULT 0,
+ `playerguid` INT unsigned NOT NULL DEFAULT 0,
+ `player_account` INT unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`petitionguid`,`playerguid`),
KEY `Idx_playerguid` (`playerguid`),
KEY `Idx_ownerguid` (`ownerguid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `petition_sign` WRITE;
diff --git a/data/sql/base/db_characters/pool_quest_save.sql b/data/sql/base/db_characters/pool_quest_save.sql
index 283ad5f23f..126cb2aeb1 100644
--- a/data/sql/base/db_characters/pool_quest_save.sql
+++ b/data/sql/base/db_characters/pool_quest_save.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pool_quest_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pool_quest_save`
(
- `pool_id` int(10) unsigned NOT NULL DEFAULT 0,
- `quest_id` int(10) unsigned NOT NULL DEFAULT 0,
+ `pool_id` INT unsigned NOT NULL DEFAULT 0,
+ `quest_id` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`pool_id`,`quest_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pool_quest_save` WRITE;
diff --git a/data/sql/base/db_characters/pvpstats_battlegrounds.sql b/data/sql/base/db_characters/pvpstats_battlegrounds.sql
index 34f7f166bb..811127e160 100644
--- a/data/sql/base/db_characters/pvpstats_battlegrounds.sql
+++ b/data/sql/base/db_characters/pvpstats_battlegrounds.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pvpstats_battlegrounds`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pvpstats_battlegrounds`
(
- `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
- `winner_faction` tinyint(4) NOT NULL,
- `bracket_id` tinyint(3) unsigned NOT NULL,
- `type` tinyint(3) unsigned NOT NULL,
+ `id` BIGINT unsigned NOT NULL AUTO_INCREMENT,
+ `winner_faction` TINYINT NOT NULL,
+ `bracket_id` TINYINT unsigned NOT NULL,
+ `type` TINYINT unsigned NOT NULL,
`date` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
diff --git a/data/sql/base/db_characters/pvpstats_players.sql b/data/sql/base/db_characters/pvpstats_players.sql
index fabc983816..61c956d08e 100644
--- a/data/sql/base/db_characters/pvpstats_players.sql
+++ b/data/sql/base/db_characters/pvpstats_players.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pvpstats_players`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pvpstats_players`
(
- `battleground_id` bigint(20) unsigned NOT NULL,
- `character_guid` int(10) unsigned NOT NULL,
+ `battleground_id` BIGINT unsigned NOT NULL,
+ `character_guid` INT unsigned NOT NULL,
`winner` bit(1) NOT NULL,
- `score_killing_blows` mediumint(8) unsigned NOT NULL,
- `score_deaths` mediumint(8) unsigned NOT NULL,
- `score_honorable_kills` mediumint(8) unsigned NOT NULL,
- `score_bonus_honor` mediumint(8) unsigned NOT NULL,
- `score_damage_done` mediumint(8) unsigned NOT NULL,
- `score_healing_done` mediumint(8) unsigned NOT NULL,
- `attr_1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `attr_2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `attr_3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `attr_4` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `attr_5` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `score_killing_blows` MEDIUMINT unsigned NOT NULL,
+ `score_deaths` MEDIUMINT unsigned NOT NULL,
+ `score_honorable_kills` MEDIUMINT unsigned NOT NULL,
+ `score_bonus_honor` MEDIUMINT unsigned NOT NULL,
+ `score_damage_done` MEDIUMINT unsigned NOT NULL,
+ `score_healing_done` MEDIUMINT unsigned NOT NULL,
+ `attr_1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `attr_2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `attr_3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `attr_4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `attr_5` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`battleground_id`,`character_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
diff --git a/data/sql/base/db_characters/quest_tracker.sql b/data/sql/base/db_characters/quest_tracker.sql
index 2ebefdde42..bf3f6d833e 100644
--- a/data/sql/base/db_characters/quest_tracker.sql
+++ b/data/sql/base/db_characters/quest_tracker.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_tracker`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_tracker`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `character_guid` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `character_guid` INT unsigned NOT NULL DEFAULT 0,
`quest_accept_time` datetime NOT NULL,
`quest_complete_time` datetime DEFAULT NULL,
`quest_abandon_time` datetime DEFAULT NULL,
- `completed_by_gm` tinyint(1) NOT NULL DEFAULT 0,
+ `completed_by_gm` TINYINT NOT NULL DEFAULT 0,
`core_hash` varchar(120) NOT NULL DEFAULT '0',
`core_revision` varchar(120) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
diff --git a/data/sql/base/db_characters/recovery_item.sql b/data/sql/base/db_characters/recovery_item.sql
index 96f6cf58b8..010bd425db 100644
--- a/data/sql/base/db_characters/recovery_item.sql
+++ b/data/sql/base/db_characters/recovery_item.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `recovery_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `recovery_item`
(
- `Id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `Guid` int(11) unsigned NOT NULL DEFAULT 0,
- `ItemEntry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Count` int(11) unsigned NOT NULL DEFAULT 0,
+ `Id` INT unsigned NOT NULL AUTO_INCREMENT,
+ `Guid` INT unsigned NOT NULL DEFAULT 0,
+ `ItemEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Count` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`Id`),
KEY `idx_guid` (`Guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
diff --git a/data/sql/base/db_characters/reserved_name.sql b/data/sql/base/db_characters/reserved_name.sql
index e146711a49..8baeb14660 100644
--- a/data/sql/base/db_characters/reserved_name.sql
+++ b/data/sql/base/db_characters/reserved_name.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `reserved_name`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `reserved_name`
(
`name` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`name`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player Reserved Names';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player Reserved Names';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `reserved_name` WRITE;
diff --git a/data/sql/base/db_characters/version_db_characters.sql b/data/sql/base/db_characters/version_db_characters.sql
index 641b4fcc54..e1c7be4871 100644
--- a/data/sql/base/db_characters/version_db_characters.sql
+++ b/data/sql/base/db_characters/version_db_characters.sql
@@ -6,7 +6,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `version_db_characters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `version_db_characters`
(
`sql_rev` varchar(100) NOT NULL,
@@ -15,7 +15,7 @@ CREATE TABLE `version_db_characters`
PRIMARY KEY (`sql_rev`),
KEY `required` (`required_rev`),
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_characters` (`sql_rev`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `version_db_characters` WRITE;
diff --git a/data/sql/base/db_characters/warden_action.sql b/data/sql/base/db_characters/warden_action.sql
index 84bc37e95f..a925d486a3 100644
--- a/data/sql/base/db_characters/warden_action.sql
+++ b/data/sql/base/db_characters/warden_action.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `warden_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `warden_action`
(
- `wardenId` smallint(5) unsigned NOT NULL,
- `action` tinyint(3) unsigned DEFAULT NULL,
+ `wardenId` SMALLINT unsigned NOT NULL,
+ `action` TINYINT unsigned DEFAULT NULL,
PRIMARY KEY (`wardenId`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `warden_action` WRITE;
diff --git a/data/sql/base/db_characters/worldstates.sql b/data/sql/base/db_characters/worldstates.sql
index 190f75bf46..e641a7ace1 100644
--- a/data/sql/base/db_characters/worldstates.sql
+++ b/data/sql/base/db_characters/worldstates.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `worldstates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `worldstates`
(
- `entry` int(10) unsigned NOT NULL DEFAULT 0,
- `value` int(10) unsigned NOT NULL DEFAULT 0,
+ `entry` INT unsigned NOT NULL DEFAULT 0,
+ `value` INT unsigned NOT NULL DEFAULT 0,
`comment` tinytext DEFAULT NULL,
PRIMARY KEY (`entry`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Saves';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Variable Saves';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `worldstates` WRITE;
diff --git a/data/sql/base/db_world/access_requirement.sql b/data/sql/base/db_world/access_requirement.sql
index b20e91f1b6..d01f3402b3 100644
--- a/data/sql/base/db_world/access_requirement.sql
+++ b/data/sql/base/db_world/access_requirement.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `access_requirement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `access_requirement`
(
- `mapId` mediumint(8) unsigned NOT NULL,
- `difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `level_min` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `level_max` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `item_level` smallint(5) unsigned NOT NULL DEFAULT 0,
- `item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `item2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `mapId` MEDIUMINT unsigned NOT NULL,
+ `difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
+ `level_min` TINYINT unsigned NOT NULL DEFAULT 0,
+ `level_max` TINYINT unsigned NOT NULL DEFAULT 0,
+ `item_level` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `item2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest_done_A` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest_done_H` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `completed_achievement` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`quest_failed_text` text DEFAULT NULL,
`comment` text DEFAULT NULL,
PRIMARY KEY (`mapId`,`difficulty`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Access Requirements';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Access Requirements';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `access_requirement` WRITE;
diff --git a/data/sql/base/db_world/achievement_category_dbc.sql b/data/sql/base/db_world/achievement_category_dbc.sql
index 4df34d3fd7..8b3cda5777 100644
--- a/data/sql/base/db_world/achievement_category_dbc.sql
+++ b/data/sql/base/db_world/achievement_category_dbc.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `achievement_category_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `achievement_category_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Parent` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Parent` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -27,10 +27,10 @@ CREATE TABLE `achievement_category_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Ui_Order` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Ui_Order` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `achievement_category_dbc` WRITE;
diff --git a/data/sql/base/db_world/achievement_criteria_data.sql b/data/sql/base/db_world/achievement_criteria_data.sql
index 18cfafc381..b6bdb2e638 100644
--- a/data/sql/base/db_world/achievement_criteria_data.sql
+++ b/data/sql/base/db_world/achievement_criteria_data.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `achievement_criteria_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `achievement_criteria_data`
(
- `criteria_id` mediumint(8) NOT NULL,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `value1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `value2` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `criteria_id` MEDIUMINT NOT NULL,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `value1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `value2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`ScriptName` char(64) NOT NULL DEFAULT '',
PRIMARY KEY (`criteria_id`,`type`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Achievment system';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Achievment system';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `achievement_criteria_data` WRITE;
diff --git a/data/sql/base/db_world/achievement_criteria_dbc.sql b/data/sql/base/db_world/achievement_criteria_dbc.sql
index 8aaba8a61d..a1db3ddf8d 100644
--- a/data/sql/base/db_world/achievement_criteria_dbc.sql
+++ b/data/sql/base/db_world/achievement_criteria_dbc.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `achievement_criteria_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `achievement_criteria_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Achievement_Id` int(11) NOT NULL DEFAULT 0,
- `Type` int(11) NOT NULL DEFAULT 0,
- `Asset_Id` int(11) NOT NULL DEFAULT 0,
- `Quantity` int(11) NOT NULL DEFAULT 0,
- `Start_Event` int(11) NOT NULL DEFAULT 0,
- `Start_Asset` int(11) NOT NULL DEFAULT 0,
- `Fail_Event` int(11) NOT NULL DEFAULT 0,
- `Fail_Asset` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Achievement_Id` INT NOT NULL DEFAULT 0,
+ `Type` INT NOT NULL DEFAULT 0,
+ `Asset_Id` INT NOT NULL DEFAULT 0,
+ `Quantity` INT NOT NULL DEFAULT 0,
+ `Start_Event` INT NOT NULL DEFAULT 0,
+ `Start_Asset` INT NOT NULL DEFAULT 0,
+ `Fail_Event` INT NOT NULL DEFAULT 0,
+ `Fail_Asset` INT NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(100) DEFAULT NULL,
`Description_Lang_enGB` varchar(100) DEFAULT NULL,
`Description_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -34,14 +34,14 @@ CREATE TABLE `achievement_criteria_dbc`
`Description_Lang_ptBR` varchar(100) DEFAULT NULL,
`Description_Lang_itIT` varchar(100) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `Timer_Start_Event` int(11) NOT NULL DEFAULT 0,
- `Timer_Asset_Id` int(11) NOT NULL DEFAULT 0,
- `Timer_Time` int(11) NOT NULL DEFAULT 0,
- `Ui_Order` int(11) NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `Timer_Start_Event` INT NOT NULL DEFAULT 0,
+ `Timer_Asset_Id` INT NOT NULL DEFAULT 0,
+ `Timer_Time` INT NOT NULL DEFAULT 0,
+ `Ui_Order` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `achievement_criteria_dbc` WRITE;
diff --git a/data/sql/base/db_world/achievement_dbc.sql b/data/sql/base/db_world/achievement_dbc.sql
index 56e730363e..5aaf382750 100644
--- a/data/sql/base/db_world/achievement_dbc.sql
+++ b/data/sql/base/db_world/achievement_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `achievement_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `achievement_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Faction` int(11) NOT NULL DEFAULT 0,
- `Instance_Id` int(11) NOT NULL DEFAULT 0,
- `Supercedes` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Faction` INT NOT NULL DEFAULT 0,
+ `Instance_Id` INT NOT NULL DEFAULT 0,
+ `Supercedes` INT NOT NULL DEFAULT 0,
`Title_Lang_enUS` varchar(100) DEFAULT NULL,
`Title_Lang_enGB` varchar(100) DEFAULT NULL,
`Title_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -29,7 +29,7 @@ CREATE TABLE `achievement_dbc`
`Title_Lang_ptBR` varchar(100) DEFAULT NULL,
`Title_Lang_itIT` varchar(100) DEFAULT NULL,
`Title_Lang_Unk` varchar(100) DEFAULT NULL,
- `Title_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Title_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(200) DEFAULT NULL,
`Description_Lang_enGB` varchar(200) DEFAULT NULL,
`Description_Lang_koKR` varchar(200) DEFAULT NULL,
@@ -46,12 +46,12 @@ CREATE TABLE `achievement_dbc`
`Description_Lang_ptBR` varchar(200) DEFAULT NULL,
`Description_Lang_itIT` varchar(200) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Category` int(11) NOT NULL DEFAULT 0,
- `Points` int(11) NOT NULL DEFAULT 0,
- `Ui_Order` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `IconID` int(11) NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Category` INT NOT NULL DEFAULT 0,
+ `Points` INT NOT NULL DEFAULT 0,
+ `Ui_Order` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `IconID` INT NOT NULL DEFAULT 0,
`Reward_Lang_enUS` varchar(100) DEFAULT NULL,
`Reward_Lang_enGB` varchar(100) DEFAULT NULL,
`Reward_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -68,11 +68,11 @@ CREATE TABLE `achievement_dbc`
`Reward_Lang_ptBR` varchar(100) DEFAULT NULL,
`Reward_Lang_itIT` varchar(100) DEFAULT NULL,
`Reward_Lang_Unk` varchar(100) DEFAULT NULL,
- `Reward_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Minimum_Criteria` int(11) NOT NULL DEFAULT 0,
- `Shares_Criteria` int(11) NOT NULL DEFAULT 0,
+ `Reward_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Minimum_Criteria` INT NOT NULL DEFAULT 0,
+ `Shares_Criteria` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `achievement_dbc` WRITE;
diff --git a/data/sql/base/db_world/achievement_reward.sql b/data/sql/base/db_world/achievement_reward.sql
index 0bc789afa8..59039a07b9 100644
--- a/data/sql/base/db_world/achievement_reward.sql
+++ b/data/sql/base/db_world/achievement_reward.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `achievement_reward`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `achievement_reward`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `TitleA` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `TitleH` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Sender` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `TitleA` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `TitleH` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Sender` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Subject` varchar(255) DEFAULT NULL,
`Body` text DEFAULT NULL,
- `MailTemplateID` mediumint(8) unsigned DEFAULT 0,
+ `MailTemplateID` MEDIUMINT unsigned DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `achievement_reward` WRITE;
diff --git a/data/sql/base/db_world/achievement_reward_locale.sql b/data/sql/base/db_world/achievement_reward_locale.sql
index 86b6f167e1..9152f018ac 100644
--- a/data/sql/base/db_world/achievement_reward_locale.sql
+++ b/data/sql/base/db_world/achievement_reward_locale.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `achievement_reward_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `achievement_reward_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Locale` varchar(4) NOT NULL,
`Subject` text DEFAULT NULL,
`Text` text DEFAULT NULL,
PRIMARY KEY (`ID`,`Locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `achievement_reward_locale` WRITE;
diff --git a/data/sql/base/db_world/acore_string.sql b/data/sql/base/db_world/acore_string.sql
index 0d4a100697..2a16869cd9 100644
--- a/data/sql/base/db_world/acore_string.sql
+++ b/data/sql/base/db_world/acore_string.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `acore_string`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `acore_string`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`content_default` text NOT NULL,
`locale_koKR` text DEFAULT NULL,
`locale_frFR` text DEFAULT NULL,
@@ -20,7 +20,7 @@ CREATE TABLE `acore_string`
`locale_esMX` text DEFAULT NULL,
`locale_ruRU` text DEFAULT NULL,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `acore_string` WRITE;
diff --git a/data/sql/base/db_world/areagroup_dbc.sql b/data/sql/base/db_world/areagroup_dbc.sql
index 5976ce3c0a..db0a816bd1 100644
--- a/data/sql/base/db_world/areagroup_dbc.sql
+++ b/data/sql/base/db_world/areagroup_dbc.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areagroup_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areagroup_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `AreaID_1` int(11) NOT NULL DEFAULT 0,
- `AreaID_2` int(11) NOT NULL DEFAULT 0,
- `AreaID_3` int(11) NOT NULL DEFAULT 0,
- `AreaID_4` int(11) NOT NULL DEFAULT 0,
- `AreaID_5` int(11) NOT NULL DEFAULT 0,
- `AreaID_6` int(11) NOT NULL DEFAULT 0,
- `NextAreaID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `AreaID_1` INT NOT NULL DEFAULT 0,
+ `AreaID_2` INT NOT NULL DEFAULT 0,
+ `AreaID_3` INT NOT NULL DEFAULT 0,
+ `AreaID_4` INT NOT NULL DEFAULT 0,
+ `AreaID_5` INT NOT NULL DEFAULT 0,
+ `AreaID_6` INT NOT NULL DEFAULT 0,
+ `NextAreaID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areagroup_dbc` WRITE;
diff --git a/data/sql/base/db_world/areapoi_dbc.sql b/data/sql/base/db_world/areapoi_dbc.sql
index 5517086606..6827f29dba 100644
--- a/data/sql/base/db_world/areapoi_dbc.sql
+++ b/data/sql/base/db_world/areapoi_dbc.sql
@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areapoi_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areapoi_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Importance` int(11) NOT NULL DEFAULT 0,
- `Icon_1` int(11) NOT NULL DEFAULT 0,
- `Icon_2` int(11) NOT NULL DEFAULT 0,
- `Icon_3` int(11) NOT NULL DEFAULT 0,
- `Icon_4` int(11) NOT NULL DEFAULT 0,
- `Icon_5` int(11) NOT NULL DEFAULT 0,
- `Icon_6` int(11) NOT NULL DEFAULT 0,
- `Icon_7` int(11) NOT NULL DEFAULT 0,
- `Icon_8` int(11) NOT NULL DEFAULT 0,
- `Icon_9` int(11) NOT NULL DEFAULT 0,
- `FactionID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Importance` INT NOT NULL DEFAULT 0,
+ `Icon_1` INT NOT NULL DEFAULT 0,
+ `Icon_2` INT NOT NULL DEFAULT 0,
+ `Icon_3` INT NOT NULL DEFAULT 0,
+ `Icon_4` INT NOT NULL DEFAULT 0,
+ `Icon_5` INT NOT NULL DEFAULT 0,
+ `Icon_6` INT NOT NULL DEFAULT 0,
+ `Icon_7` INT NOT NULL DEFAULT 0,
+ `Icon_8` INT NOT NULL DEFAULT 0,
+ `Icon_9` INT NOT NULL DEFAULT 0,
+ `FactionID` INT NOT NULL DEFAULT 0,
`X` float NOT NULL DEFAULT 0,
`Y` float NOT NULL DEFAULT 0,
`Z` float NOT NULL DEFAULT 0,
- `ContinentID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `AreaID` int(11) NOT NULL DEFAULT 0,
+ `ContinentID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `AreaID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -43,7 +43,7 @@ CREATE TABLE `areapoi_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(100) DEFAULT NULL,
`Description_Lang_enGB` varchar(100) DEFAULT NULL,
`Description_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -60,11 +60,11 @@ CREATE TABLE `areapoi_dbc`
`Description_Lang_ptBR` varchar(100) DEFAULT NULL,
`Description_Lang_itIT` varchar(100) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `WorldStateID` int(11) NOT NULL DEFAULT 0,
- `WorldMapLink` int(11) NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `WorldStateID` INT NOT NULL DEFAULT 0,
+ `WorldMapLink` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areapoi_dbc` WRITE;
diff --git a/data/sql/base/db_world/areatable_dbc.sql b/data/sql/base/db_world/areatable_dbc.sql
index 4c9f781b0f..4962e2c2f3 100644
--- a/data/sql/base/db_world/areatable_dbc.sql
+++ b/data/sql/base/db_world/areatable_dbc.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areatable_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areatable_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ContinentID` int(11) NOT NULL DEFAULT 0,
- `ParentAreaID` int(11) NOT NULL DEFAULT 0,
- `AreaBit` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `SoundProviderPref` int(11) NOT NULL DEFAULT 0,
- `SoundProviderPrefUnderwater` int(11) NOT NULL DEFAULT 0,
- `AmbienceID` int(11) NOT NULL DEFAULT 0,
- `ZoneMusic` int(11) NOT NULL DEFAULT 0,
- `IntroSound` int(11) NOT NULL DEFAULT 0,
- `ExplorationLevel` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ContinentID` INT NOT NULL DEFAULT 0,
+ `ParentAreaID` INT NOT NULL DEFAULT 0,
+ `AreaBit` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `SoundProviderPref` INT NOT NULL DEFAULT 0,
+ `SoundProviderPrefUnderwater` INT NOT NULL DEFAULT 0,
+ `AmbienceID` INT NOT NULL DEFAULT 0,
+ `ZoneMusic` INT NOT NULL DEFAULT 0,
+ `IntroSound` INT NOT NULL DEFAULT 0,
+ `ExplorationLevel` INT NOT NULL DEFAULT 0,
`AreaName_Lang_enUS` varchar(100) DEFAULT NULL,
`AreaName_Lang_enGB` varchar(100) DEFAULT NULL,
`AreaName_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -36,17 +36,17 @@ CREATE TABLE `areatable_dbc`
`AreaName_Lang_ptBR` varchar(100) DEFAULT NULL,
`AreaName_Lang_itIT` varchar(100) DEFAULT NULL,
`AreaName_Lang_Unk` varchar(100) DEFAULT NULL,
- `AreaName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `FactionGroupMask` int(11) NOT NULL DEFAULT 0,
- `LiquidTypeID_1` int(11) NOT NULL DEFAULT 0,
- `LiquidTypeID_2` int(11) NOT NULL DEFAULT 0,
- `LiquidTypeID_3` int(11) NOT NULL DEFAULT 0,
- `LiquidTypeID_4` int(11) NOT NULL DEFAULT 0,
+ `AreaName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `FactionGroupMask` INT NOT NULL DEFAULT 0,
+ `LiquidTypeID_1` INT NOT NULL DEFAULT 0,
+ `LiquidTypeID_2` INT NOT NULL DEFAULT 0,
+ `LiquidTypeID_3` INT NOT NULL DEFAULT 0,
+ `LiquidTypeID_4` INT NOT NULL DEFAULT 0,
`MinElevation` float NOT NULL DEFAULT 0,
`Ambient_Multiplier` float NOT NULL DEFAULT 0,
- `Lightid` int(11) NOT NULL DEFAULT 0,
+ `Lightid` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areatable_dbc` WRITE;
diff --git a/data/sql/base/db_world/areatrigger.sql b/data/sql/base/db_world/areatrigger.sql
index e9fc36520e..836062f6fa 100644
--- a/data/sql/base/db_world/areatrigger.sql
+++ b/data/sql/base/db_world/areatrigger.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areatrigger`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areatrigger`
(
- `entry` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `map` int(10) unsigned NOT NULL DEFAULT 0,
+ `entry` INT unsigned NOT NULL AUTO_INCREMENT,
+ `map` INT unsigned NOT NULL DEFAULT 0,
`x` float NOT NULL DEFAULT 0,
`y` float NOT NULL DEFAULT 0,
`z` float NOT NULL DEFAULT 0,
diff --git a/data/sql/base/db_world/areatrigger_involvedrelation.sql b/data/sql/base/db_world/areatrigger_involvedrelation.sql
index b7841a4336..bbaca6e47f 100644
--- a/data/sql/base/db_world/areatrigger_involvedrelation.sql
+++ b/data/sql/base/db_world/areatrigger_involvedrelation.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areatrigger_involvedrelation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areatrigger_involvedrelation`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Trigger System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areatrigger_involvedrelation` WRITE;
diff --git a/data/sql/base/db_world/areatrigger_scripts.sql b/data/sql/base/db_world/areatrigger_scripts.sql
index 81c2b328fc..4aa1bb7b1f 100644
--- a/data/sql/base/db_world/areatrigger_scripts.sql
+++ b/data/sql/base/db_world/areatrigger_scripts.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areatrigger_scripts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areatrigger_scripts`
(
- `entry` mediumint(8) NOT NULL,
+ `entry` MEDIUMINT NOT NULL,
`ScriptName` char(64) NOT NULL,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areatrigger_scripts` WRITE;
diff --git a/data/sql/base/db_world/areatrigger_tavern.sql b/data/sql/base/db_world/areatrigger_tavern.sql
index 00181517de..58e61161ff 100644
--- a/data/sql/base/db_world/areatrigger_tavern.sql
+++ b/data/sql/base/db_world/areatrigger_tavern.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areatrigger_tavern`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areatrigger_tavern`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
`name` text DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Trigger System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areatrigger_tavern` WRITE;
diff --git a/data/sql/base/db_world/areatrigger_teleport.sql b/data/sql/base/db_world/areatrigger_teleport.sql
index b9bbd56756..6e3df56c9d 100644
--- a/data/sql/base/db_world/areatrigger_teleport.sql
+++ b/data/sql/base/db_world/areatrigger_teleport.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `areatrigger_teleport`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `areatrigger_teleport`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Name` text DEFAULT NULL,
- `target_map` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `target_map` SMALLINT unsigned NOT NULL DEFAULT 0,
`target_position_x` float NOT NULL DEFAULT 0,
`target_position_y` float NOT NULL DEFAULT 0,
`target_position_z` float NOT NULL DEFAULT 0,
`target_orientation` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`),
FULLTEXT KEY `name` (`Name`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Trigger System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `areatrigger_teleport` WRITE;
diff --git a/data/sql/base/db_world/auctionhouse_dbc.sql b/data/sql/base/db_world/auctionhouse_dbc.sql
index 12fb8bc06b..5284198854 100644
--- a/data/sql/base/db_world/auctionhouse_dbc.sql
+++ b/data/sql/base/db_world/auctionhouse_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `auctionhouse_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `auctionhouse_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `FactionID` int(11) NOT NULL DEFAULT 0,
- `DepositRate` int(11) NOT NULL DEFAULT 0,
- `ConsignmentRate` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `FactionID` INT NOT NULL DEFAULT 0,
+ `DepositRate` INT NOT NULL DEFAULT 0,
+ `ConsignmentRate` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -29,9 +29,9 @@ CREATE TABLE `auctionhouse_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `auctionhouse_dbc` WRITE;
diff --git a/data/sql/base/db_world/bankbagslotprices_dbc.sql b/data/sql/base/db_world/bankbagslotprices_dbc.sql
index 6898e16f42..5732087557 100644
--- a/data/sql/base/db_world/bankbagslotprices_dbc.sql
+++ b/data/sql/base/db_world/bankbagslotprices_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `bankbagslotprices_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `bankbagslotprices_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Cost` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Cost` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `bankbagslotprices_dbc` WRITE;
diff --git a/data/sql/base/db_world/barbershopstyle_dbc.sql b/data/sql/base/db_world/barbershopstyle_dbc.sql
index a6a04e374c..8d76bf3889 100644
--- a/data/sql/base/db_world/barbershopstyle_dbc.sql
+++ b/data/sql/base/db_world/barbershopstyle_dbc.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `barbershopstyle_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `barbershopstyle_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Type` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Type` INT NOT NULL DEFAULT 0,
`DisplayName_Lang_enUS` varchar(100) DEFAULT NULL,
`DisplayName_Lang_enGB` varchar(100) DEFAULT NULL,
`DisplayName_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -27,7 +27,7 @@ CREATE TABLE `barbershopstyle_dbc`
`DisplayName_Lang_ptBR` varchar(100) DEFAULT NULL,
`DisplayName_Lang_itIT` varchar(100) DEFAULT NULL,
`DisplayName_Lang_Unk` varchar(100) DEFAULT NULL,
- `DisplayName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `DisplayName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(100) DEFAULT NULL,
`Description_Lang_enGB` varchar(100) DEFAULT NULL,
`Description_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -44,13 +44,13 @@ CREATE TABLE `barbershopstyle_dbc`
`Description_Lang_ptBR` varchar(100) DEFAULT NULL,
`Description_Lang_itIT` varchar(100) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Cost_Modifier` float NOT NULL DEFAULT 0,
- `Race` int(11) NOT NULL DEFAULT 0,
- `Sex` int(11) NOT NULL DEFAULT 0,
- `Data` int(11) NOT NULL DEFAULT 0,
+ `Race` INT NOT NULL DEFAULT 0,
+ `Sex` INT NOT NULL DEFAULT 0,
+ `Data` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `barbershopstyle_dbc` WRITE;
diff --git a/data/sql/base/db_world/battleground_template.sql b/data/sql/base/db_world/battleground_template.sql
index 00a6b317c2..cbd23edd9d 100644
--- a/data/sql/base/db_world/battleground_template.sql
+++ b/data/sql/base/db_world/battleground_template.sql
@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `battleground_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `battleground_template`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `MinPlayersPerTeam` smallint(5) unsigned NOT NULL DEFAULT 0,
- `MaxPlayersPerTeam` smallint(5) unsigned NOT NULL DEFAULT 0,
- `MinLvl` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MaxLvl` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `AllianceStartLoc` mediumint(8) unsigned NOT NULL,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `MinPlayersPerTeam` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `MaxPlayersPerTeam` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `MinLvl` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MaxLvl` TINYINT unsigned NOT NULL DEFAULT 0,
+ `AllianceStartLoc` MEDIUMINT unsigned NOT NULL,
`AllianceStartO` float NOT NULL,
- `HordeStartLoc` mediumint(8) unsigned NOT NULL,
+ `HordeStartLoc` MEDIUMINT unsigned NOT NULL,
`HordeStartO` float NOT NULL,
`StartMaxDist` float NOT NULL DEFAULT 0,
- `Weight` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `Weight` TINYINT unsigned NOT NULL DEFAULT 1,
`ScriptName` char(64) NOT NULL DEFAULT '',
`Comment` char(38) NOT NULL,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `battleground_template` WRITE;
diff --git a/data/sql/base/db_world/battlemaster_entry.sql b/data/sql/base/db_world/battlemaster_entry.sql
index b8d2521674..5eddf29810 100644
--- a/data/sql/base/db_world/battlemaster_entry.sql
+++ b/data/sql/base/db_world/battlemaster_entry.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `battlemaster_entry`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `battlemaster_entry`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of a creature',
- `bg_template` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Battleground template id',
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of a creature',
+ `bg_template` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Battleground template id',
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `battlemaster_entry` WRITE;
diff --git a/data/sql/base/db_world/battlemasterlist_dbc.sql b/data/sql/base/db_world/battlemasterlist_dbc.sql
index d091f6c5b2..3cb5df6639 100644
--- a/data/sql/base/db_world/battlemasterlist_dbc.sql
+++ b/data/sql/base/db_world/battlemasterlist_dbc.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `battlemasterlist_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `battlemasterlist_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `MapID_1` int(11) NOT NULL DEFAULT 0,
- `MapID_2` int(11) NOT NULL DEFAULT 0,
- `MapID_3` int(11) NOT NULL DEFAULT 0,
- `MapID_4` int(11) NOT NULL DEFAULT 0,
- `MapID_5` int(11) NOT NULL DEFAULT 0,
- `MapID_6` int(11) NOT NULL DEFAULT 0,
- `MapID_7` int(11) NOT NULL DEFAULT 0,
- `MapID_8` int(11) NOT NULL DEFAULT 0,
- `InstanceType` int(11) NOT NULL DEFAULT 0,
- `GroupsAllowed` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `MapID_1` INT NOT NULL DEFAULT 0,
+ `MapID_2` INT NOT NULL DEFAULT 0,
+ `MapID_3` INT NOT NULL DEFAULT 0,
+ `MapID_4` INT NOT NULL DEFAULT 0,
+ `MapID_5` INT NOT NULL DEFAULT 0,
+ `MapID_6` INT NOT NULL DEFAULT 0,
+ `MapID_7` INT NOT NULL DEFAULT 0,
+ `MapID_8` INT NOT NULL DEFAULT 0,
+ `InstanceType` INT NOT NULL DEFAULT 0,
+ `GroupsAllowed` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -36,13 +36,13 @@ CREATE TABLE `battlemasterlist_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `MaxGroupSize` int(11) NOT NULL DEFAULT 0,
- `HolidayWorldState` int(11) NOT NULL DEFAULT 0,
- `Minlevel` int(11) NOT NULL DEFAULT 0,
- `Maxlevel` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `MaxGroupSize` INT NOT NULL DEFAULT 0,
+ `HolidayWorldState` INT NOT NULL DEFAULT 0,
+ `Minlevel` INT NOT NULL DEFAULT 0,
+ `Maxlevel` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `battlemasterlist_dbc` WRITE;
diff --git a/data/sql/base/db_world/broadcast_text.sql b/data/sql/base/db_world/broadcast_text.sql
index e9cdc13326..b7f3d2026c 100644
--- a/data/sql/base/db_world/broadcast_text.sql
+++ b/data/sql/base/db_world/broadcast_text.sql
@@ -6,25 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `broadcast_text`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `broadcast_text`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Language` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Language` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`MaleText` longtext DEFAULT NULL,
`FemaleText` longtext DEFAULT NULL,
- `EmoteID0` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `EmoteID1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `EmoteID2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay0` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `SoundId` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Unk1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Unk2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `EmoteID0` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `EmoteID1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `EmoteID2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay0` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `SoundId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Unk1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Unk2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `broadcast_text` WRITE;
diff --git a/data/sql/base/db_world/broadcast_text_locale.sql b/data/sql/base/db_world/broadcast_text_locale.sql
index c9006a9c71..727595b785 100644
--- a/data/sql/base/db_world/broadcast_text_locale.sql
+++ b/data/sql/base/db_world/broadcast_text_locale.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `broadcast_text_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `broadcast_text_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`MaleText` text DEFAULT NULL,
`FemaleText` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `broadcast_text_locale` WRITE;
diff --git a/data/sql/base/db_world/charstartoutfit_dbc.sql b/data/sql/base/db_world/charstartoutfit_dbc.sql
index 9ab10a7e2e..a72c30a993 100644
--- a/data/sql/base/db_world/charstartoutfit_dbc.sql
+++ b/data/sql/base/db_world/charstartoutfit_dbc.sql
@@ -6,88 +6,88 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `charstartoutfit_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `charstartoutfit_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `RaceID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `ClassID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `SexID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `OutfitID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `ItemID_1` int(11) NOT NULL DEFAULT 0,
- `ItemID_2` int(11) NOT NULL DEFAULT 0,
- `ItemID_3` int(11) NOT NULL DEFAULT 0,
- `ItemID_4` int(11) NOT NULL DEFAULT 0,
- `ItemID_5` int(11) NOT NULL DEFAULT 0,
- `ItemID_6` int(11) NOT NULL DEFAULT 0,
- `ItemID_7` int(11) NOT NULL DEFAULT 0,
- `ItemID_8` int(11) NOT NULL DEFAULT 0,
- `ItemID_9` int(11) NOT NULL DEFAULT 0,
- `ItemID_10` int(11) NOT NULL DEFAULT 0,
- `ItemID_11` int(11) NOT NULL DEFAULT 0,
- `ItemID_12` int(11) NOT NULL DEFAULT 0,
- `ItemID_13` int(11) NOT NULL DEFAULT 0,
- `ItemID_14` int(11) NOT NULL DEFAULT 0,
- `ItemID_15` int(11) NOT NULL DEFAULT 0,
- `ItemID_16` int(11) NOT NULL DEFAULT 0,
- `ItemID_17` int(11) NOT NULL DEFAULT 0,
- `ItemID_18` int(11) NOT NULL DEFAULT 0,
- `ItemID_19` int(11) NOT NULL DEFAULT 0,
- `ItemID_20` int(11) NOT NULL DEFAULT 0,
- `ItemID_21` int(11) NOT NULL DEFAULT 0,
- `ItemID_22` int(11) NOT NULL DEFAULT 0,
- `ItemID_23` int(11) NOT NULL DEFAULT 0,
- `ItemID_24` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_1` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_2` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_3` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_4` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_5` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_6` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_7` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_8` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_9` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_10` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_11` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_12` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_13` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_14` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_15` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_16` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_17` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_18` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_19` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_20` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_21` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_22` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_23` int(11) NOT NULL DEFAULT 0,
- `DisplayItemID_24` int(11) NOT NULL DEFAULT 0,
- `InventoryType_1` int(11) NOT NULL DEFAULT 0,
- `InventoryType_2` int(11) NOT NULL DEFAULT 0,
- `InventoryType_3` int(11) NOT NULL DEFAULT 0,
- `InventoryType_4` int(11) NOT NULL DEFAULT 0,
- `InventoryType_5` int(11) NOT NULL DEFAULT 0,
- `InventoryType_6` int(11) NOT NULL DEFAULT 0,
- `InventoryType_7` int(11) NOT NULL DEFAULT 0,
- `InventoryType_8` int(11) NOT NULL DEFAULT 0,
- `InventoryType_9` int(11) NOT NULL DEFAULT 0,
- `InventoryType_10` int(11) NOT NULL DEFAULT 0,
- `InventoryType_11` int(11) NOT NULL DEFAULT 0,
- `InventoryType_12` int(11) NOT NULL DEFAULT 0,
- `InventoryType_13` int(11) NOT NULL DEFAULT 0,
- `InventoryType_14` int(11) NOT NULL DEFAULT 0,
- `InventoryType_15` int(11) NOT NULL DEFAULT 0,
- `InventoryType_16` int(11) NOT NULL DEFAULT 0,
- `InventoryType_17` int(11) NOT NULL DEFAULT 0,
- `InventoryType_18` int(11) NOT NULL DEFAULT 0,
- `InventoryType_19` int(11) NOT NULL DEFAULT 0,
- `InventoryType_20` int(11) NOT NULL DEFAULT 0,
- `InventoryType_21` int(11) NOT NULL DEFAULT 0,
- `InventoryType_22` int(11) NOT NULL DEFAULT 0,
- `InventoryType_23` int(11) NOT NULL DEFAULT 0,
- `InventoryType_24` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `RaceID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `ClassID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `SexID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `OutfitID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `ItemID_1` INT NOT NULL DEFAULT 0,
+ `ItemID_2` INT NOT NULL DEFAULT 0,
+ `ItemID_3` INT NOT NULL DEFAULT 0,
+ `ItemID_4` INT NOT NULL DEFAULT 0,
+ `ItemID_5` INT NOT NULL DEFAULT 0,
+ `ItemID_6` INT NOT NULL DEFAULT 0,
+ `ItemID_7` INT NOT NULL DEFAULT 0,
+ `ItemID_8` INT NOT NULL DEFAULT 0,
+ `ItemID_9` INT NOT NULL DEFAULT 0,
+ `ItemID_10` INT NOT NULL DEFAULT 0,
+ `ItemID_11` INT NOT NULL DEFAULT 0,
+ `ItemID_12` INT NOT NULL DEFAULT 0,
+ `ItemID_13` INT NOT NULL DEFAULT 0,
+ `ItemID_14` INT NOT NULL DEFAULT 0,
+ `ItemID_15` INT NOT NULL DEFAULT 0,
+ `ItemID_16` INT NOT NULL DEFAULT 0,
+ `ItemID_17` INT NOT NULL DEFAULT 0,
+ `ItemID_18` INT NOT NULL DEFAULT 0,
+ `ItemID_19` INT NOT NULL DEFAULT 0,
+ `ItemID_20` INT NOT NULL DEFAULT 0,
+ `ItemID_21` INT NOT NULL DEFAULT 0,
+ `ItemID_22` INT NOT NULL DEFAULT 0,
+ `ItemID_23` INT NOT NULL DEFAULT 0,
+ `ItemID_24` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_1` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_2` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_3` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_4` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_5` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_6` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_7` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_8` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_9` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_10` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_11` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_12` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_13` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_14` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_15` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_16` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_17` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_18` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_19` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_20` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_21` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_22` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_23` INT NOT NULL DEFAULT 0,
+ `DisplayItemID_24` INT NOT NULL DEFAULT 0,
+ `InventoryType_1` INT NOT NULL DEFAULT 0,
+ `InventoryType_2` INT NOT NULL DEFAULT 0,
+ `InventoryType_3` INT NOT NULL DEFAULT 0,
+ `InventoryType_4` INT NOT NULL DEFAULT 0,
+ `InventoryType_5` INT NOT NULL DEFAULT 0,
+ `InventoryType_6` INT NOT NULL DEFAULT 0,
+ `InventoryType_7` INT NOT NULL DEFAULT 0,
+ `InventoryType_8` INT NOT NULL DEFAULT 0,
+ `InventoryType_9` INT NOT NULL DEFAULT 0,
+ `InventoryType_10` INT NOT NULL DEFAULT 0,
+ `InventoryType_11` INT NOT NULL DEFAULT 0,
+ `InventoryType_12` INT NOT NULL DEFAULT 0,
+ `InventoryType_13` INT NOT NULL DEFAULT 0,
+ `InventoryType_14` INT NOT NULL DEFAULT 0,
+ `InventoryType_15` INT NOT NULL DEFAULT 0,
+ `InventoryType_16` INT NOT NULL DEFAULT 0,
+ `InventoryType_17` INT NOT NULL DEFAULT 0,
+ `InventoryType_18` INT NOT NULL DEFAULT 0,
+ `InventoryType_19` INT NOT NULL DEFAULT 0,
+ `InventoryType_20` INT NOT NULL DEFAULT 0,
+ `InventoryType_21` INT NOT NULL DEFAULT 0,
+ `InventoryType_22` INT NOT NULL DEFAULT 0,
+ `InventoryType_23` INT NOT NULL DEFAULT 0,
+ `InventoryType_24` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `charstartoutfit_dbc` WRITE;
diff --git a/data/sql/base/db_world/chartitles_dbc.sql b/data/sql/base/db_world/chartitles_dbc.sql
index 6bcc7ed247..2d9561d003 100644
--- a/data/sql/base/db_world/chartitles_dbc.sql
+++ b/data/sql/base/db_world/chartitles_dbc.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `chartitles_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `chartitles_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Condition_ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Condition_ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -27,7 +27,7 @@ CREATE TABLE `chartitles_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Name1_Lang_enUS` varchar(100) DEFAULT NULL,
`Name1_Lang_enGB` varchar(100) DEFAULT NULL,
`Name1_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -44,10 +44,10 @@ CREATE TABLE `chartitles_dbc`
`Name1_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name1_Lang_itIT` varchar(100) DEFAULT NULL,
`Name1_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name1_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Mask_ID` int(11) NOT NULL DEFAULT 0,
+ `Name1_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Mask_ID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `chartitles_dbc` WRITE;
diff --git a/data/sql/base/db_world/chatchannels_dbc.sql b/data/sql/base/db_world/chatchannels_dbc.sql
index 98a2364313..ddb60977b3 100644
--- a/data/sql/base/db_world/chatchannels_dbc.sql
+++ b/data/sql/base/db_world/chatchannels_dbc.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `chatchannels_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `chatchannels_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `FactionGroup` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `FactionGroup` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -28,7 +28,7 @@ CREATE TABLE `chatchannels_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Shortcut_Lang_enUS` varchar(100) DEFAULT NULL,
`Shortcut_Lang_enGB` varchar(100) DEFAULT NULL,
`Shortcut_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -45,9 +45,9 @@ CREATE TABLE `chatchannels_dbc`
`Shortcut_Lang_ptBR` varchar(100) DEFAULT NULL,
`Shortcut_Lang_itIT` varchar(100) DEFAULT NULL,
`Shortcut_Lang_Unk` varchar(100) DEFAULT NULL,
- `Shortcut_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Shortcut_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `chatchannels_dbc` WRITE;
diff --git a/data/sql/base/db_world/chrclasses_dbc.sql b/data/sql/base/db_world/chrclasses_dbc.sql
index 2246af68cb..82aaf2959a 100644
--- a/data/sql/base/db_world/chrclasses_dbc.sql
+++ b/data/sql/base/db_world/chrclasses_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `chrclasses_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `chrclasses_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Field01` int(11) NOT NULL DEFAULT 0,
- `DisplayPower` int(11) NOT NULL DEFAULT 0,
- `PetNameToken` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Field01` INT NOT NULL DEFAULT 0,
+ `DisplayPower` INT NOT NULL DEFAULT 0,
+ `PetNameToken` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -29,7 +29,7 @@ CREATE TABLE `chrclasses_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Name_Female_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Female_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Female_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -46,7 +46,7 @@ CREATE TABLE `chrclasses_dbc`
`Name_Female_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Female_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Female_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Female_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Female_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Name_Male_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Male_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Male_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -63,14 +63,14 @@ CREATE TABLE `chrclasses_dbc`
`Name_Male_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Male_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Male_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Male_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Male_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Filename` varchar(100) DEFAULT NULL,
- `SpellClassSet` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `CinematicSequenceID` int(11) NOT NULL DEFAULT 0,
- `Required_Expansion` int(11) NOT NULL DEFAULT 0,
+ `SpellClassSet` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `CinematicSequenceID` INT NOT NULL DEFAULT 0,
+ `Required_Expansion` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `chrclasses_dbc` WRITE;
diff --git a/data/sql/base/db_world/chrraces_dbc.sql b/data/sql/base/db_world/chrraces_dbc.sql
index 9db11e210b..3312a26f1b 100644
--- a/data/sql/base/db_world/chrraces_dbc.sql
+++ b/data/sql/base/db_world/chrraces_dbc.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `chrraces_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `chrraces_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `FactionID` int(11) NOT NULL DEFAULT 0,
- `ExplorationSoundID` int(11) NOT NULL DEFAULT 0,
- `MaleDisplayId` int(11) NOT NULL DEFAULT 0,
- `FemaleDisplayId` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `FactionID` INT NOT NULL DEFAULT 0,
+ `ExplorationSoundID` INT NOT NULL DEFAULT 0,
+ `MaleDisplayId` INT NOT NULL DEFAULT 0,
+ `FemaleDisplayId` INT NOT NULL DEFAULT 0,
`ClientPrefix` varchar(100) DEFAULT NULL,
- `BaseLanguage` int(11) NOT NULL DEFAULT 0,
- `CreatureType` int(11) NOT NULL DEFAULT 0,
- `ResSicknessSpellID` int(11) NOT NULL DEFAULT 0,
- `SplashSoundID` int(11) NOT NULL DEFAULT 0,
+ `BaseLanguage` INT NOT NULL DEFAULT 0,
+ `CreatureType` INT NOT NULL DEFAULT 0,
+ `ResSicknessSpellID` INT NOT NULL DEFAULT 0,
+ `SplashSoundID` INT NOT NULL DEFAULT 0,
`ClientFilestring` varchar(100) DEFAULT NULL,
- `CinematicSequenceID` int(11) NOT NULL DEFAULT 0,
- `Alliance` int(11) NOT NULL DEFAULT 0,
+ `CinematicSequenceID` INT NOT NULL DEFAULT 0,
+ `Alliance` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -39,7 +39,7 @@ CREATE TABLE `chrraces_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Name_Female_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Female_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Female_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -56,7 +56,7 @@ CREATE TABLE `chrraces_dbc`
`Name_Female_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Female_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Female_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Female_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Female_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Name_Male_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Male_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Male_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -73,13 +73,13 @@ CREATE TABLE `chrraces_dbc`
`Name_Male_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Male_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Male_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Male_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Male_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`FacialHairCustomization_1` varchar(100) DEFAULT NULL,
`FacialHairCustomization_2` varchar(100) DEFAULT NULL,
`HairCustomization` varchar(100) DEFAULT NULL,
- `Required_Expansion` int(11) NOT NULL DEFAULT 0,
+ `Required_Expansion` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `chrraces_dbc` WRITE;
diff --git a/data/sql/base/db_world/cinematiccamera_dbc.sql b/data/sql/base/db_world/cinematiccamera_dbc.sql
index c4d7eff47c..b437fcfbd4 100644
--- a/data/sql/base/db_world/cinematiccamera_dbc.sql
+++ b/data/sql/base/db_world/cinematiccamera_dbc.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `cinematiccamera_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `cinematiccamera_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`model` varchar(100) DEFAULT NULL,
- `soundEntry` int(11) NOT NULL DEFAULT 0,
+ `soundEntry` INT NOT NULL DEFAULT 0,
`locationX` float NOT NULL DEFAULT 0,
`locationY` float NOT NULL DEFAULT 0,
`locationZ` float NOT NULL DEFAULT 0,
`rotation` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Cinematic camera DBC';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Cinematic camera DBC';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `cinematiccamera_dbc` WRITE;
diff --git a/data/sql/base/db_world/cinematicsequences_dbc.sql b/data/sql/base/db_world/cinematicsequences_dbc.sql
index 5196bf1c6e..0bb491618f 100644
--- a/data/sql/base/db_world/cinematicsequences_dbc.sql
+++ b/data/sql/base/db_world/cinematicsequences_dbc.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `cinematicsequences_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `cinematicsequences_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `SoundID` int(11) NOT NULL DEFAULT 0,
- `Camera_1` int(11) NOT NULL DEFAULT 0,
- `Camera_2` int(11) NOT NULL DEFAULT 0,
- `Camera_3` int(11) NOT NULL DEFAULT 0,
- `Camera_4` int(11) NOT NULL DEFAULT 0,
- `Camera_5` int(11) NOT NULL DEFAULT 0,
- `Camera_6` int(11) NOT NULL DEFAULT 0,
- `Camera_7` int(11) NOT NULL DEFAULT 0,
- `Camera_8` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `SoundID` INT NOT NULL DEFAULT 0,
+ `Camera_1` INT NOT NULL DEFAULT 0,
+ `Camera_2` INT NOT NULL DEFAULT 0,
+ `Camera_3` INT NOT NULL DEFAULT 0,
+ `Camera_4` INT NOT NULL DEFAULT 0,
+ `Camera_5` INT NOT NULL DEFAULT 0,
+ `Camera_6` INT NOT NULL DEFAULT 0,
+ `Camera_7` INT NOT NULL DEFAULT 0,
+ `Camera_8` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `cinematicsequences_dbc` WRITE;
diff --git a/data/sql/base/db_world/command.sql b/data/sql/base/db_world/command.sql
index 1f083683b9..4cce311364 100644
--- a/data/sql/base/db_world/command.sql
+++ b/data/sql/base/db_world/command.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `command`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `command`
(
`name` varchar(50) NOT NULL DEFAULT '',
- `security` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `security` TINYINT unsigned NOT NULL DEFAULT 0,
`help` longtext DEFAULT NULL,
PRIMARY KEY (`name`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Chat System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Chat System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `command` WRITE;
diff --git a/data/sql/base/db_world/conditions.sql b/data/sql/base/db_world/conditions.sql
index 6213fac51f..fd47cbcd00 100644
--- a/data/sql/base/db_world/conditions.sql
+++ b/data/sql/base/db_world/conditions.sql
@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `conditions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `conditions`
(
- `SourceTypeOrReferenceId` mediumint(8) NOT NULL DEFAULT 0,
- `SourceGroup` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `SourceEntry` mediumint(8) NOT NULL DEFAULT 0,
- `SourceId` int(11) NOT NULL DEFAULT 0,
- `ElseGroup` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ConditionTypeOrReference` mediumint(8) NOT NULL DEFAULT 0,
- `ConditionTarget` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `ConditionValue1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ConditionValue2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ConditionValue3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `NegativeCondition` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `ErrorType` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ErrorTextId` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `SourceTypeOrReferenceId` MEDIUMINT NOT NULL DEFAULT 0,
+ `SourceGroup` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `SourceEntry` MEDIUMINT NOT NULL DEFAULT 0,
+ `SourceId` INT NOT NULL DEFAULT 0,
+ `ElseGroup` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ConditionTypeOrReference` MEDIUMINT NOT NULL DEFAULT 0,
+ `ConditionTarget` TINYINT unsigned NOT NULL DEFAULT 0,
+ `ConditionValue1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ConditionValue2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ConditionValue3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `NegativeCondition` TINYINT unsigned NOT NULL DEFAULT 0,
+ `ErrorType` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ErrorTextId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`ScriptName` char(64) NOT NULL DEFAULT '',
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Condition System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Condition System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `conditions` WRITE;
diff --git a/data/sql/base/db_world/creature.sql b/data/sql/base/db_world/creature.sql
index eecce496d3..71a9b69f56 100644
--- a/data/sql/base/db_world/creature.sql
+++ b/data/sql/base/db_world/creature.sql
@@ -6,37 +6,37 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature`
(
- `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier',
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier',
- `map` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
- `zoneId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
- `areaId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Area Identifier',
- `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `phaseMask` int(10) unsigned NOT NULL DEFAULT 1,
- `modelid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `equipment_id` tinyint(3) NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier',
+ `map` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
+ `zoneId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
+ `areaId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Area Identifier',
+ `spawnMask` TINYINT unsigned NOT NULL DEFAULT 1,
+ `phaseMask` INT unsigned NOT NULL DEFAULT 1,
+ `modelid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `equipment_id` TINYINT NOT NULL DEFAULT 0,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
- `spawntimesecs` int(10) unsigned NOT NULL DEFAULT 120,
+ `spawntimesecs` INT unsigned NOT NULL DEFAULT 120,
`wander_distance` float NOT NULL DEFAULT 0,
- `currentwaypoint` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `curhealth` int(10) unsigned NOT NULL DEFAULT 1,
- `curmana` int(10) unsigned NOT NULL DEFAULT 0,
- `MovementType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `npcflag` int(10) unsigned NOT NULL DEFAULT 0,
- `unit_flags` int(10) unsigned NOT NULL DEFAULT 0,
- `dynamicflags` int(10) unsigned NOT NULL DEFAULT 0,
+ `currentwaypoint` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `curhealth` INT unsigned NOT NULL DEFAULT 1,
+ `curmana` INT unsigned NOT NULL DEFAULT 0,
+ `MovementType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `npcflag` INT unsigned NOT NULL DEFAULT 0,
+ `unit_flags` INT unsigned NOT NULL DEFAULT 0,
+ `dynamicflags` INT unsigned NOT NULL DEFAULT 0,
`ScriptName` char(64) DEFAULT '',
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`guid`),
KEY `idx_map` (`map`),
KEY `idx_id` (`id`)
-) ENGINE=MyISAM AUTO_INCREMENT=3110360 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature System';
+) ENGINE=MyISAM AUTO_INCREMENT=3110360 DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Creature System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature` WRITE;
diff --git a/data/sql/base/db_world/creature_addon.sql b/data/sql/base/db_world/creature_addon.sql
index b36e0933b7..fd2d69c641 100644
--- a/data/sql/base/db_world/creature_addon.sql
+++ b/data/sql/base/db_world/creature_addon.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_addon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_addon`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `path_id` int(10) unsigned NOT NULL DEFAULT 0,
- `mount` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `bytes1` int(10) unsigned NOT NULL DEFAULT 0,
- `bytes2` int(10) unsigned NOT NULL DEFAULT 0,
- `emote` int(10) unsigned NOT NULL DEFAULT 0,
- `isLarge` tinyint(1) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `path_id` INT unsigned NOT NULL DEFAULT 0,
+ `mount` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `bytes1` INT unsigned NOT NULL DEFAULT 0,
+ `bytes2` INT unsigned NOT NULL DEFAULT 0,
+ `emote` INT unsigned NOT NULL DEFAULT 0,
+ `isLarge` TINYINT unsigned NOT NULL DEFAULT 0,
`auras` text DEFAULT NULL,
PRIMARY KEY (`guid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_addon` WRITE;
diff --git a/data/sql/base/db_world/creature_classlevelstats.sql b/data/sql/base/db_world/creature_classlevelstats.sql
index 600cff6765..bcc90c83c2 100644
--- a/data/sql/base/db_world/creature_classlevelstats.sql
+++ b/data/sql/base/db_world/creature_classlevelstats.sql
@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_classlevelstats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_classlevelstats`
(
- `level` tinyint(3) unsigned NOT NULL,
- `class` tinyint(3) unsigned NOT NULL,
- `basehp0` smallint(5) unsigned NOT NULL DEFAULT 1,
- `basehp1` smallint(5) unsigned NOT NULL DEFAULT 1,
- `basehp2` smallint(5) unsigned NOT NULL DEFAULT 1,
- `basemana` smallint(5) unsigned NOT NULL DEFAULT 0,
- `basearmor` smallint(5) unsigned NOT NULL DEFAULT 1,
- `attackpower` smallint(5) unsigned NOT NULL DEFAULT 0,
- `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `level` TINYINT unsigned NOT NULL,
+ `class` TINYINT unsigned NOT NULL,
+ `basehp0` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `basehp1` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `basehp2` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `basemana` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `basearmor` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `attackpower` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `rangedattackpower` SMALLINT unsigned NOT NULL DEFAULT 0,
`damage_base` float NOT NULL DEFAULT 0,
`damage_exp1` float NOT NULL DEFAULT 0,
`damage_exp2` float NOT NULL DEFAULT 0,
`comment` text DEFAULT NULL,
PRIMARY KEY (`level`,`class`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_classlevelstats` WRITE;
diff --git a/data/sql/base/db_world/creature_equip_template.sql b/data/sql/base/db_world/creature_equip_template.sql
index 4aefb82989..1a871435c5 100644
--- a/data/sql/base/db_world/creature_equip_template.sql
+++ b/data/sql/base/db_world/creature_equip_template.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_equip_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_equip_template`
(
- `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ID` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `ItemID1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `CreatureID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ID` TINYINT unsigned NOT NULL DEFAULT 1,
+ `ItemID1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemID2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemID3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`CreatureID`,`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_equip_template` WRITE;
diff --git a/data/sql/base/db_world/creature_formations.sql b/data/sql/base/db_world/creature_formations.sql
index 50827cdeb0..58834c29cf 100644
--- a/data/sql/base/db_world/creature_formations.sql
+++ b/data/sql/base/db_world/creature_formations.sql
@@ -6,18 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_formations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_formations`
(
- `leaderGUID` int(10) unsigned NOT NULL DEFAULT 0,
- `memberGUID` int(10) unsigned NOT NULL DEFAULT 0,
- `dist` float unsigned NOT NULL,
- `angle` float unsigned NOT NULL,
- `groupAI` int(10) unsigned NOT NULL,
- `point_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `point_2` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `leaderGUID` INT unsigned NOT NULL DEFAULT 0,
+ `memberGUID` INT unsigned NOT NULL DEFAULT 0,
+ `dist` FLOAT NOT NULL,
+ `angle` FLOAT NOT NULL,
+ `groupAI` INT unsigned NOT NULL,
+ `point_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `point_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ CHECK (`dist`>=0 AND `angle`>=0),
PRIMARY KEY (`memberGUID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_formations` WRITE;
diff --git a/data/sql/base/db_world/creature_loot_template.sql b/data/sql/base/db_world/creature_loot_template.sql
index 6fccba7d58..c0c51bbc68 100644
--- a/data/sql/base/db_world/creature_loot_template.sql
+++ b/data/sql/base/db_world/creature_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_loot_template` WRITE;
diff --git a/data/sql/base/db_world/creature_model_info.sql b/data/sql/base/db_world/creature_model_info.sql
index f53bd4d246..f0f116157b 100644
--- a/data/sql/base/db_world/creature_model_info.sql
+++ b/data/sql/base/db_world/creature_model_info.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_model_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_model_info`
(
- `DisplayID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `DisplayID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`BoundingRadius` float NOT NULL DEFAULT 0,
`CombatReach` float NOT NULL DEFAULT 0,
- `Gender` tinyint(3) unsigned NOT NULL DEFAULT 2,
- `DisplayID_Other_Gender` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Gender` TINYINT unsigned NOT NULL DEFAULT 2,
+ `DisplayID_Other_Gender` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`DisplayID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Creature System (Model related info)';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_model_info` WRITE;
diff --git a/data/sql/base/db_world/creature_onkill_reputation.sql b/data/sql/base/db_world/creature_onkill_reputation.sql
index d5d0ac1acc..49faa536a2 100644
--- a/data/sql/base/db_world/creature_onkill_reputation.sql
+++ b/data/sql/base/db_world/creature_onkill_reputation.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_onkill_reputation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_onkill_reputation`
(
- `creature_id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier',
- `RewOnKillRepFaction1` smallint(6) NOT NULL DEFAULT 0,
- `RewOnKillRepFaction2` smallint(6) NOT NULL DEFAULT 0,
- `MaxStanding1` tinyint(4) NOT NULL DEFAULT 0,
- `IsTeamAward1` tinyint(4) NOT NULL DEFAULT 0,
- `RewOnKillRepValue1` mediumint(8) NOT NULL DEFAULT 0,
- `MaxStanding2` tinyint(4) NOT NULL DEFAULT 0,
- `IsTeamAward2` tinyint(4) NOT NULL DEFAULT 0,
- `RewOnKillRepValue2` mediumint(9) NOT NULL DEFAULT 0,
- `TeamDependent` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `creature_id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier',
+ `RewOnKillRepFaction1` SMALLINT NOT NULL DEFAULT 0,
+ `RewOnKillRepFaction2` SMALLINT NOT NULL DEFAULT 0,
+ `MaxStanding1` TINYINT NOT NULL DEFAULT 0,
+ `IsTeamAward1` TINYINT NOT NULL DEFAULT 0,
+ `RewOnKillRepValue1` MEDIUMINT NOT NULL DEFAULT 0,
+ `MaxStanding2` TINYINT NOT NULL DEFAULT 0,
+ `IsTeamAward2` TINYINT NOT NULL DEFAULT 0,
+ `RewOnKillRepValue2` MEDIUMINT NOT NULL DEFAULT 0,
+ `TeamDependent` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`creature_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_onkill_reputation` WRITE;
diff --git a/data/sql/base/db_world/creature_questender.sql b/data/sql/base/db_world/creature_questender.sql
index 701cfb6827..a31d0f2632 100644
--- a/data/sql/base/db_world/creature_questender.sql
+++ b/data/sql/base/db_world/creature_questender.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_questender`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_questender`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`id`,`quest`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Creature System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_questender` WRITE;
diff --git a/data/sql/base/db_world/creature_questitem.sql b/data/sql/base/db_world/creature_questitem.sql
index 0793a5c821..72f3cf1733 100644
--- a/data/sql/base/db_world/creature_questitem.sql
+++ b/data/sql/base/db_world/creature_questitem.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_questitem`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_questitem`
(
- `CreatureEntry` int(10) unsigned NOT NULL DEFAULT 0,
- `Idx` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemId` int(10) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0,
+ `CreatureEntry` INT unsigned NOT NULL DEFAULT 0,
+ `Idx` INT unsigned NOT NULL DEFAULT 0,
+ `ItemId` INT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`CreatureEntry`,`Idx`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_questitem` WRITE;
diff --git a/data/sql/base/db_world/creature_queststarter.sql b/data/sql/base/db_world/creature_queststarter.sql
index 2483f44ead..ec8a806527 100644
--- a/data/sql/base/db_world/creature_queststarter.sql
+++ b/data/sql/base/db_world/creature_queststarter.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_queststarter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_queststarter`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`id`,`quest`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Creature System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_queststarter` WRITE;
diff --git a/data/sql/base/db_world/creature_summon_groups.sql b/data/sql/base/db_world/creature_summon_groups.sql
index 61a6cfe0b8..f9396e2ceb 100644
--- a/data/sql/base/db_world/creature_summon_groups.sql
+++ b/data/sql/base/db_world/creature_summon_groups.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_summon_groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_summon_groups`
(
- `summonerId` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `summonerType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `groupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `summonerId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `summonerType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `groupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
- `summonType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `summonTime` int(10) unsigned NOT NULL DEFAULT 0
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+ `summonType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `summonTime` INT unsigned NOT NULL DEFAULT 0
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_summon_groups` WRITE;
diff --git a/data/sql/base/db_world/creature_template.sql b/data/sql/base/db_world/creature_template.sql
index b2dc683db0..7f2222f0b4 100644
--- a/data/sql/base/db_world/creature_template.sql
+++ b/data/sql/base/db_world/creature_template.sql
@@ -6,91 +6,91 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_template`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `difficulty_entry_1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `difficulty_entry_2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `difficulty_entry_3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `KillCredit1` int(10) unsigned NOT NULL DEFAULT 0,
- `KillCredit2` int(10) unsigned NOT NULL DEFAULT 0,
- `modelid1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `modelid2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `modelid3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `modelid4` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `difficulty_entry_1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `difficulty_entry_2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `difficulty_entry_3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `KillCredit1` INT unsigned NOT NULL DEFAULT 0,
+ `KillCredit2` INT unsigned NOT NULL DEFAULT 0,
+ `modelid1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `modelid2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `modelid3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `modelid4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`name` char(100) NOT NULL DEFAULT '0',
`subname` char(100) DEFAULT NULL,
`IconName` char(100) DEFAULT NULL,
- `gossip_menu_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `minlevel` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `maxlevel` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `exp` smallint(6) NOT NULL DEFAULT 0,
- `faction` smallint(5) unsigned NOT NULL DEFAULT 0,
- `npcflag` int(10) unsigned NOT NULL DEFAULT 0,
+ `gossip_menu_id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `minlevel` TINYINT unsigned NOT NULL DEFAULT 1,
+ `maxlevel` TINYINT unsigned NOT NULL DEFAULT 1,
+ `exp` SMALLINT NOT NULL DEFAULT 0,
+ `faction` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `npcflag` INT unsigned NOT NULL DEFAULT 0,
`speed_walk` float NOT NULL DEFAULT 1 COMMENT 'Result of 2.5/2.5, most common value',
`speed_run` float NOT NULL DEFAULT 1.14286 COMMENT 'Result of 8.0/7.0, most common value',
`scale` float NOT NULL DEFAULT 1,
- `rank` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `rank` TINYINT unsigned NOT NULL DEFAULT 0,
`mindmg` float NOT NULL DEFAULT 0,
`maxdmg` float NOT NULL DEFAULT 0,
- `dmgschool` tinyint(4) NOT NULL DEFAULT 0,
- `attackpower` int(10) unsigned NOT NULL DEFAULT 0,
+ `dmgschool` TINYINT NOT NULL DEFAULT 0,
+ `attackpower` INT unsigned NOT NULL DEFAULT 0,
`DamageModifier` float NOT NULL DEFAULT 1,
- `BaseAttackTime` int(10) unsigned NOT NULL DEFAULT 0,
- `RangeAttackTime` int(10) unsigned NOT NULL DEFAULT 0,
- `unit_class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `unit_flags` int(10) unsigned NOT NULL DEFAULT 0,
- `unit_flags2` int(10) unsigned NOT NULL DEFAULT 0,
- `dynamicflags` int(10) unsigned NOT NULL DEFAULT 0,
- `family` tinyint(4) NOT NULL DEFAULT 0,
- `trainer_type` tinyint(4) NOT NULL DEFAULT 0,
- `trainer_spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `trainer_class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `trainer_race` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BaseAttackTime` INT unsigned NOT NULL DEFAULT 0,
+ `RangeAttackTime` INT unsigned NOT NULL DEFAULT 0,
+ `unit_class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `unit_flags` INT unsigned NOT NULL DEFAULT 0,
+ `unit_flags2` INT unsigned NOT NULL DEFAULT 0,
+ `dynamicflags` INT unsigned NOT NULL DEFAULT 0,
+ `family` TINYINT NOT NULL DEFAULT 0,
+ `trainer_type` TINYINT NOT NULL DEFAULT 0,
+ `trainer_spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `trainer_class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `trainer_race` TINYINT unsigned NOT NULL DEFAULT 0,
`minrangedmg` float NOT NULL DEFAULT 0,
`maxrangedmg` float NOT NULL DEFAULT 0,
- `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `type_flags` int(10) unsigned NOT NULL DEFAULT 0,
- `lootid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `pickpocketloot` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `skinloot` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `resistance1` smallint(6) NOT NULL DEFAULT 0,
- `resistance2` smallint(6) NOT NULL DEFAULT 0,
- `resistance3` smallint(6) NOT NULL DEFAULT 0,
- `resistance4` smallint(6) NOT NULL DEFAULT 0,
- `resistance5` smallint(6) NOT NULL DEFAULT 0,
- `resistance6` smallint(6) NOT NULL DEFAULT 0,
- `spell1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell4` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell5` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell6` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell7` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spell8` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `PetSpellDataId` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `VehicleId` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `mingold` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `maxgold` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `rangedattackpower` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `type_flags` INT unsigned NOT NULL DEFAULT 0,
+ `lootid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `pickpocketloot` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `skinloot` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `resistance1` SMALLINT NOT NULL DEFAULT 0,
+ `resistance2` SMALLINT NOT NULL DEFAULT 0,
+ `resistance3` SMALLINT NOT NULL DEFAULT 0,
+ `resistance4` SMALLINT NOT NULL DEFAULT 0,
+ `resistance5` SMALLINT NOT NULL DEFAULT 0,
+ `resistance6` SMALLINT NOT NULL DEFAULT 0,
+ `spell1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell5` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell6` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell7` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spell8` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `PetSpellDataId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `VehicleId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `mingold` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `maxgold` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`AIName` char(64) NOT NULL DEFAULT '',
- `MovementType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `InhabitType` tinyint(3) unsigned NOT NULL DEFAULT 3,
+ `MovementType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `InhabitType` TINYINT unsigned NOT NULL DEFAULT 3,
`HoverHeight` float NOT NULL DEFAULT 1,
`HealthModifier` float NOT NULL DEFAULT 1,
`ManaModifier` float NOT NULL DEFAULT 1,
`ArmorModifier` float NOT NULL DEFAULT 1,
- `RacialLeader` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `movementId` int(11) unsigned NOT NULL DEFAULT 0,
- `RegenHealth` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `mechanic_immune_mask` int(10) unsigned NOT NULL DEFAULT 0,
- `flags_extra` int(10) unsigned NOT NULL DEFAULT 0,
+ `RacialLeader` TINYINT unsigned NOT NULL DEFAULT 0,
+ `movementId` INT unsigned NOT NULL DEFAULT 0,
+ `RegenHealth` TINYINT unsigned NOT NULL DEFAULT 1,
+ `mechanic_immune_mask` INT unsigned NOT NULL DEFAULT 0,
+ `flags_extra` INT unsigned NOT NULL DEFAULT 0,
`ScriptName` char(64) NOT NULL DEFAULT '',
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`),
KEY `idx_name` (`name`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Creature System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_template` WRITE;
diff --git a/data/sql/base/db_world/creature_template_addon.sql b/data/sql/base/db_world/creature_template_addon.sql
index 9a9407782b..8bca15f243 100644
--- a/data/sql/base/db_world/creature_template_addon.sql
+++ b/data/sql/base/db_world/creature_template_addon.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_template_addon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_template_addon`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `path_id` int(10) unsigned NOT NULL DEFAULT 0,
- `mount` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `bytes1` int(10) unsigned NOT NULL DEFAULT 0,
- `bytes2` int(10) unsigned NOT NULL DEFAULT 0,
- `emote` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `isLarge` tinyint(1) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `path_id` INT unsigned NOT NULL DEFAULT 0,
+ `mount` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `bytes1` INT unsigned NOT NULL DEFAULT 0,
+ `bytes2` INT unsigned NOT NULL DEFAULT 0,
+ `emote` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `isLarge` TINYINT unsigned NOT NULL DEFAULT 0,
`auras` text DEFAULT NULL,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_template_addon` WRITE;
diff --git a/data/sql/base/db_world/creature_template_locale.sql b/data/sql/base/db_world/creature_template_locale.sql
index d685189b42..cbbe5b7144 100644
--- a/data/sql/base/db_world/creature_template_locale.sql
+++ b/data/sql/base/db_world/creature_template_locale.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_template_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_template_locale`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`Name` text DEFAULT NULL,
`Title` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`,`locale`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_template_locale` WRITE;
diff --git a/data/sql/base/db_world/creature_text.sql b/data/sql/base/db_world/creature_text.sql
index 678cda09c3..917a50a48a 100644
--- a/data/sql/base/db_world/creature_text.sql
+++ b/data/sql/base/db_world/creature_text.sql
@@ -6,24 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_text`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_text`
(
- `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `GroupID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `ID` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `CreatureID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `GroupID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `ID` TINYINT unsigned NOT NULL DEFAULT 0,
`Text` longtext DEFAULT NULL,
- `Type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Language` tinyint(3) NOT NULL DEFAULT 0,
- `Probability` float unsigned NOT NULL DEFAULT 0,
- `Emote` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Duration` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Sound` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `BroadcastTextId` mediumint(6) NOT NULL DEFAULT 0,
- `TextRange` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `Type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Language` TINYINT NOT NULL DEFAULT 0,
+ `Probability` FLOAT NOT NULL DEFAULT 0,
+ `Emote` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Duration` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Sound` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextId` MEDIUMINT NOT NULL DEFAULT 0,
+ `TextRange` TINYINT unsigned NOT NULL DEFAULT 0,
`comment` varchar(255) DEFAULT '',
+ CHECK (`Probability`>=0),
PRIMARY KEY (`CreatureID`,`GroupID`,`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_text` WRITE;
diff --git a/data/sql/base/db_world/creature_text_locale.sql b/data/sql/base/db_world/creature_text_locale.sql
index b92739568a..599dc066e6 100644
--- a/data/sql/base/db_world/creature_text_locale.sql
+++ b/data/sql/base/db_world/creature_text_locale.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_text_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_text_locale`
(
- `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `GroupID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `ID` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `CreatureID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `GroupID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `ID` TINYINT unsigned NOT NULL DEFAULT 0,
`Locale` varchar(4) NOT NULL,
`Text` text DEFAULT NULL,
PRIMARY KEY (`CreatureID`,`GroupID`,`ID`,`Locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_text_locale` WRITE;
diff --git a/data/sql/base/db_world/creaturedisplayinfo_dbc.sql b/data/sql/base/db_world/creaturedisplayinfo_dbc.sql
index 989c8435e3..4d5bf18548 100644
--- a/data/sql/base/db_world/creaturedisplayinfo_dbc.sql
+++ b/data/sql/base/db_world/creaturedisplayinfo_dbc.sql
@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creaturedisplayinfo_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creaturedisplayinfo_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ModelID` int(11) NOT NULL DEFAULT 0,
- `SoundID` int(11) NOT NULL DEFAULT 0,
- `ExtendedDisplayInfoID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ModelID` INT NOT NULL DEFAULT 0,
+ `SoundID` INT NOT NULL DEFAULT 0,
+ `ExtendedDisplayInfoID` INT NOT NULL DEFAULT 0,
`CreatureModelScale` float NOT NULL DEFAULT 0,
- `CreatureModelAlpha` int(11) NOT NULL DEFAULT 0,
+ `CreatureModelAlpha` INT NOT NULL DEFAULT 0,
`TextureVariation_1` varchar(100) DEFAULT NULL,
`TextureVariation_2` varchar(100) DEFAULT NULL,
`TextureVariation_3` varchar(100) DEFAULT NULL,
`PortraitTextureName` varchar(100) DEFAULT NULL,
- `BloodLevel` int(11) NOT NULL DEFAULT 0,
- `BloodID` int(11) NOT NULL DEFAULT 0,
- `NPCSoundID` int(11) NOT NULL DEFAULT 0,
- `ParticleColorID` int(11) NOT NULL DEFAULT 0,
- `CreatureGeosetData` int(11) NOT NULL DEFAULT 0,
- `ObjectEffectPackageID` int(11) NOT NULL DEFAULT 0,
+ `BloodLevel` INT NOT NULL DEFAULT 0,
+ `BloodID` INT NOT NULL DEFAULT 0,
+ `NPCSoundID` INT NOT NULL DEFAULT 0,
+ `ParticleColorID` INT NOT NULL DEFAULT 0,
+ `CreatureGeosetData` INT NOT NULL DEFAULT 0,
+ `ObjectEffectPackageID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creaturedisplayinfo_dbc` WRITE;
diff --git a/data/sql/base/db_world/creaturefamily_dbc.sql b/data/sql/base/db_world/creaturefamily_dbc.sql
index de9f10ed14..5466e4892c 100644
--- a/data/sql/base/db_world/creaturefamily_dbc.sql
+++ b/data/sql/base/db_world/creaturefamily_dbc.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creaturefamily_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creaturefamily_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`MinScale` float NOT NULL DEFAULT 0,
- `MinScaleLevel` int(11) NOT NULL DEFAULT 0,
+ `MinScaleLevel` INT NOT NULL DEFAULT 0,
`MaxScale` float NOT NULL DEFAULT 0,
- `MaxScaleLevel` int(11) NOT NULL DEFAULT 0,
- `SkillLine_1` int(11) NOT NULL DEFAULT 0,
- `SkillLine_2` int(11) NOT NULL DEFAULT 0,
- `PetFoodMask` int(11) NOT NULL DEFAULT 0,
- `PetTalentType` int(11) NOT NULL DEFAULT 0,
- `CategoryEnumID` int(11) NOT NULL DEFAULT 0,
+ `MaxScaleLevel` INT NOT NULL DEFAULT 0,
+ `SkillLine_1` INT NOT NULL DEFAULT 0,
+ `SkillLine_2` INT NOT NULL DEFAULT 0,
+ `PetFoodMask` INT NOT NULL DEFAULT 0,
+ `PetTalentType` INT NOT NULL DEFAULT 0,
+ `CategoryEnumID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -35,10 +35,10 @@ CREATE TABLE `creaturefamily_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`IconFile` varchar(100) DEFAULT NULL,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creaturefamily_dbc` WRITE;
diff --git a/data/sql/base/db_world/creaturemodeldata_dbc.sql b/data/sql/base/db_world/creaturemodeldata_dbc.sql
index f85466d83b..fbae836338 100644
--- a/data/sql/base/db_world/creaturemodeldata_dbc.sql
+++ b/data/sql/base/db_world/creaturemodeldata_dbc.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creaturemodeldata_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creaturemodeldata_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
`ModelName` varchar(100) DEFAULT NULL,
- `SizeClass` int(11) NOT NULL DEFAULT 0,
+ `SizeClass` INT NOT NULL DEFAULT 0,
`ModelScale` float NOT NULL DEFAULT 0,
- `BloodID` int(11) NOT NULL DEFAULT 0,
- `FootprintTextureID` int(11) NOT NULL DEFAULT 0,
+ `BloodID` INT NOT NULL DEFAULT 0,
+ `FootprintTextureID` INT NOT NULL DEFAULT 0,
`FootprintTextureLength` float NOT NULL DEFAULT 0,
`FootprintTextureWidth` float NOT NULL DEFAULT 0,
`FootprintParticleScale` float NOT NULL DEFAULT 0,
- `FoleyMaterialID` int(11) NOT NULL DEFAULT 0,
- `FootstepShakeSize` int(11) NOT NULL DEFAULT 0,
- `DeathThudShakeSize` int(11) NOT NULL DEFAULT 0,
- `SoundID` int(11) NOT NULL DEFAULT 0,
+ `FoleyMaterialID` INT NOT NULL DEFAULT 0,
+ `FootstepShakeSize` INT NOT NULL DEFAULT 0,
+ `DeathThudShakeSize` INT NOT NULL DEFAULT 0,
+ `SoundID` INT NOT NULL DEFAULT 0,
`CollisionWidth` float NOT NULL DEFAULT 0,
`CollisionHeight` float NOT NULL DEFAULT 0,
`MountHeight` float NOT NULL DEFAULT 0,
@@ -38,7 +38,7 @@ CREATE TABLE `creaturemodeldata_dbc`
`MissileCollisionPush` float NOT NULL DEFAULT 0,
`MissileCollisionRaise` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creaturemodeldata_dbc` WRITE;
diff --git a/data/sql/base/db_world/creaturespelldata_dbc.sql b/data/sql/base/db_world/creaturespelldata_dbc.sql
index e2a279c943..21a757cbce 100644
--- a/data/sql/base/db_world/creaturespelldata_dbc.sql
+++ b/data/sql/base/db_world/creaturespelldata_dbc.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creaturespelldata_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creaturespelldata_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Spells_1` int(11) NOT NULL DEFAULT 0,
- `Spells_2` int(11) NOT NULL DEFAULT 0,
- `Spells_3` int(11) NOT NULL DEFAULT 0,
- `Spells_4` int(11) NOT NULL DEFAULT 0,
- `Availability_1` int(11) NOT NULL DEFAULT 0,
- `Availability_2` int(11) NOT NULL DEFAULT 0,
- `Availability_3` int(11) NOT NULL DEFAULT 0,
- `Availability_4` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Spells_1` INT NOT NULL DEFAULT 0,
+ `Spells_2` INT NOT NULL DEFAULT 0,
+ `Spells_3` INT NOT NULL DEFAULT 0,
+ `Spells_4` INT NOT NULL DEFAULT 0,
+ `Availability_1` INT NOT NULL DEFAULT 0,
+ `Availability_2` INT NOT NULL DEFAULT 0,
+ `Availability_3` INT NOT NULL DEFAULT 0,
+ `Availability_4` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creaturespelldata_dbc` WRITE;
diff --git a/data/sql/base/db_world/creaturetype_dbc.sql b/data/sql/base/db_world/creaturetype_dbc.sql
index 730c22cc99..5c3e68a29f 100644
--- a/data/sql/base/db_world/creaturetype_dbc.sql
+++ b/data/sql/base/db_world/creaturetype_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creaturetype_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creaturetype_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,10 +26,10 @@ CREATE TABLE `creaturetype_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creaturetype_dbc` WRITE;
diff --git a/data/sql/base/db_world/currencytypes_dbc.sql b/data/sql/base/db_world/currencytypes_dbc.sql
index b58812d51f..9451fc0c3b 100644
--- a/data/sql/base/db_world/currencytypes_dbc.sql
+++ b/data/sql/base/db_world/currencytypes_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `currencytypes_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `currencytypes_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ItemID` int(11) NOT NULL DEFAULT 0,
- `CategoryID` int(11) NOT NULL DEFAULT 0,
- `BitIndex` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ItemID` INT NOT NULL DEFAULT 0,
+ `CategoryID` INT NOT NULL DEFAULT 0,
+ `BitIndex` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `currencytypes_dbc` WRITE;
diff --git a/data/sql/base/db_world/destructiblemodeldata_dbc.sql b/data/sql/base/db_world/destructiblemodeldata_dbc.sql
index c917348ceb..2843d0d96f 100644
--- a/data/sql/base/db_world/destructiblemodeldata_dbc.sql
+++ b/data/sql/base/db_world/destructiblemodeldata_dbc.sql
@@ -6,30 +6,30 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `destructiblemodeldata_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `destructiblemodeldata_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `State0Wmo` int(11) NOT NULL DEFAULT 0,
- `State0DestructionDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State0ImpactEffectDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State0AmbientDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State1Wmo` int(11) NOT NULL DEFAULT 0,
- `State1DestructionDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State1ImpactEffectDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State1AmbientDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State2Wmo` int(11) NOT NULL DEFAULT 0,
- `State2DestructionDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State2ImpactEffectDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State2AmbientDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State3Wmo` int(11) NOT NULL DEFAULT 0,
- `State3DestructionDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State3ImpactEffectDoodadSet` int(11) NOT NULL DEFAULT 0,
- `State3AmbientDoodadSet` int(11) NOT NULL DEFAULT 0,
- `Field17` int(11) NOT NULL DEFAULT 0,
- `Field18` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `State0Wmo` INT NOT NULL DEFAULT 0,
+ `State0DestructionDoodadSet` INT NOT NULL DEFAULT 0,
+ `State0ImpactEffectDoodadSet` INT NOT NULL DEFAULT 0,
+ `State0AmbientDoodadSet` INT NOT NULL DEFAULT 0,
+ `State1Wmo` INT NOT NULL DEFAULT 0,
+ `State1DestructionDoodadSet` INT NOT NULL DEFAULT 0,
+ `State1ImpactEffectDoodadSet` INT NOT NULL DEFAULT 0,
+ `State1AmbientDoodadSet` INT NOT NULL DEFAULT 0,
+ `State2Wmo` INT NOT NULL DEFAULT 0,
+ `State2DestructionDoodadSet` INT NOT NULL DEFAULT 0,
+ `State2ImpactEffectDoodadSet` INT NOT NULL DEFAULT 0,
+ `State2AmbientDoodadSet` INT NOT NULL DEFAULT 0,
+ `State3Wmo` INT NOT NULL DEFAULT 0,
+ `State3DestructionDoodadSet` INT NOT NULL DEFAULT 0,
+ `State3ImpactEffectDoodadSet` INT NOT NULL DEFAULT 0,
+ `State3AmbientDoodadSet` INT NOT NULL DEFAULT 0,
+ `Field17` INT NOT NULL DEFAULT 0,
+ `Field18` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `destructiblemodeldata_dbc` WRITE;
diff --git a/data/sql/base/db_world/disables.sql b/data/sql/base/db_world/disables.sql
index 9772e285c0..f9986abec4 100644
--- a/data/sql/base/db_world/disables.sql
+++ b/data/sql/base/db_world/disables.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `disables`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `disables`
(
- `sourceType` int(10) unsigned NOT NULL,
- `entry` int(10) unsigned NOT NULL,
- `flags` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `sourceType` INT unsigned NOT NULL,
+ `entry` INT unsigned NOT NULL,
+ `flags` TINYINT unsigned NOT NULL DEFAULT 0,
`params_0` varchar(255) NOT NULL DEFAULT '',
`params_1` varchar(255) NOT NULL DEFAULT '',
`comment` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`sourceType`,`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `disables` WRITE;
diff --git a/data/sql/base/db_world/disenchant_loot_template.sql b/data/sql/base/db_world/disenchant_loot_template.sql
index 3cc3011371..0b9f130627 100644
--- a/data/sql/base/db_world/disenchant_loot_template.sql
+++ b/data/sql/base/db_world/disenchant_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `disenchant_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `disenchant_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `disenchant_loot_template` WRITE;
diff --git a/data/sql/base/db_world/dungeonencounter_dbc.sql b/data/sql/base/db_world/dungeonencounter_dbc.sql
index 92eb9f852b..1f2092340c 100644
--- a/data/sql/base/db_world/dungeonencounter_dbc.sql
+++ b/data/sql/base/db_world/dungeonencounter_dbc.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `dungeonencounter_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `dungeonencounter_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `MapID` int(11) NOT NULL DEFAULT 0,
- `Difficulty` int(11) NOT NULL DEFAULT 0,
- `OrderIndex` int(11) NOT NULL DEFAULT 0,
- `Bit` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `MapID` INT NOT NULL DEFAULT 0,
+ `Difficulty` INT NOT NULL DEFAULT 0,
+ `OrderIndex` INT NOT NULL DEFAULT 0,
+ `Bit` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -30,10 +30,10 @@ CREATE TABLE `dungeonencounter_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellIconID` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `SpellIconID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `dungeonencounter_dbc` WRITE;
diff --git a/data/sql/base/db_world/durabilitycosts_dbc.sql b/data/sql/base/db_world/durabilitycosts_dbc.sql
index f5bd6f9cb8..f0e3ebaae0 100644
--- a/data/sql/base/db_world/durabilitycosts_dbc.sql
+++ b/data/sql/base/db_world/durabilitycosts_dbc.sql
@@ -6,41 +6,41 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `durabilitycosts_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `durabilitycosts_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_1` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_2` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_3` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_4` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_5` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_6` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_7` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_8` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_9` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_10` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_11` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_12` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_13` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_14` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_15` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_16` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_17` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_18` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_19` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_20` int(11) NOT NULL DEFAULT 0,
- `WeaponSubClassCost_21` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_1` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_2` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_3` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_4` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_5` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_6` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_7` int(11) NOT NULL DEFAULT 0,
- `ArmorSubClassCost_8` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_1` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_2` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_3` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_4` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_5` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_6` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_7` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_8` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_9` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_10` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_11` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_12` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_13` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_14` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_15` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_16` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_17` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_18` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_19` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_20` INT NOT NULL DEFAULT 0,
+ `WeaponSubClassCost_21` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_1` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_2` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_3` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_4` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_5` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_6` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_7` INT NOT NULL DEFAULT 0,
+ `ArmorSubClassCost_8` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `durabilitycosts_dbc` WRITE;
diff --git a/data/sql/base/db_world/durabilityquality_dbc.sql b/data/sql/base/db_world/durabilityquality_dbc.sql
index 00150e2c54..52cc36461c 100644
--- a/data/sql/base/db_world/durabilityquality_dbc.sql
+++ b/data/sql/base/db_world/durabilityquality_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `durabilityquality_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `durabilityquality_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `durabilityquality_dbc` WRITE;
diff --git a/data/sql/base/db_world/emotes_dbc.sql b/data/sql/base/db_world/emotes_dbc.sql
index ee4e678930..f34e24b1ad 100644
--- a/data/sql/base/db_world/emotes_dbc.sql
+++ b/data/sql/base/db_world/emotes_dbc.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `emotes_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `emotes_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`EmoteSlashCommand` varchar(100) DEFAULT NULL,
- `AnimID` int(11) NOT NULL DEFAULT 0,
- `EmoteFlags` int(11) NOT NULL DEFAULT 0,
- `EmoteSpecProc` int(11) NOT NULL DEFAULT 0,
- `EmoteSpecProcParam` int(11) NOT NULL DEFAULT 0,
- `EventSoundID` int(11) NOT NULL DEFAULT 0,
+ `AnimID` INT NOT NULL DEFAULT 0,
+ `EmoteFlags` INT NOT NULL DEFAULT 0,
+ `EmoteSpecProc` INT NOT NULL DEFAULT 0,
+ `EmoteSpecProcParam` INT NOT NULL DEFAULT 0,
+ `EventSoundID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `emotes_dbc` WRITE;
diff --git a/data/sql/base/db_world/emotestext_dbc.sql b/data/sql/base/db_world/emotestext_dbc.sql
index 88a78b9702..baa37e6f28 100644
--- a/data/sql/base/db_world/emotestext_dbc.sql
+++ b/data/sql/base/db_world/emotestext_dbc.sql
@@ -6,30 +6,30 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `emotestext_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `emotestext_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name` varchar(100) DEFAULT NULL,
- `EmoteID` int(11) NOT NULL DEFAULT 0,
- `EmoteText_1` int(11) NOT NULL DEFAULT 0,
- `EmoteText_2` int(11) NOT NULL DEFAULT 0,
- `EmoteText_3` int(11) NOT NULL DEFAULT 0,
- `EmoteText_4` int(11) NOT NULL DEFAULT 0,
- `EmoteText_5` int(11) NOT NULL DEFAULT 0,
- `EmoteText_6` int(11) NOT NULL DEFAULT 0,
- `EmoteText_7` int(11) NOT NULL DEFAULT 0,
- `EmoteText_8` int(11) NOT NULL DEFAULT 0,
- `EmoteText_9` int(11) NOT NULL DEFAULT 0,
- `EmoteText_10` int(11) NOT NULL DEFAULT 0,
- `EmoteText_11` int(11) NOT NULL DEFAULT 0,
- `EmoteText_12` int(11) NOT NULL DEFAULT 0,
- `EmoteText_13` int(11) NOT NULL DEFAULT 0,
- `EmoteText_14` int(11) NOT NULL DEFAULT 0,
- `EmoteText_15` int(11) NOT NULL DEFAULT 0,
- `EmoteText_16` int(11) NOT NULL DEFAULT 0,
+ `EmoteID` INT NOT NULL DEFAULT 0,
+ `EmoteText_1` INT NOT NULL DEFAULT 0,
+ `EmoteText_2` INT NOT NULL DEFAULT 0,
+ `EmoteText_3` INT NOT NULL DEFAULT 0,
+ `EmoteText_4` INT NOT NULL DEFAULT 0,
+ `EmoteText_5` INT NOT NULL DEFAULT 0,
+ `EmoteText_6` INT NOT NULL DEFAULT 0,
+ `EmoteText_7` INT NOT NULL DEFAULT 0,
+ `EmoteText_8` INT NOT NULL DEFAULT 0,
+ `EmoteText_9` INT NOT NULL DEFAULT 0,
+ `EmoteText_10` INT NOT NULL DEFAULT 0,
+ `EmoteText_11` INT NOT NULL DEFAULT 0,
+ `EmoteText_12` INT NOT NULL DEFAULT 0,
+ `EmoteText_13` INT NOT NULL DEFAULT 0,
+ `EmoteText_14` INT NOT NULL DEFAULT 0,
+ `EmoteText_15` INT NOT NULL DEFAULT 0,
+ `EmoteText_16` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `emotestext_dbc` WRITE;
diff --git a/data/sql/base/db_world/event_scripts.sql b/data/sql/base/db_world/event_scripts.sql
index a6ff7023ce..5e63b9ecd3 100644
--- a/data/sql/base/db_world/event_scripts.sql
+++ b/data/sql/base/db_world/event_scripts.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `event_scripts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `event_scripts`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `delay` int(10) unsigned NOT NULL DEFAULT 0,
- `command` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `datalong` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `datalong2` int(10) unsigned NOT NULL DEFAULT 0,
- `dataint` int(11) NOT NULL DEFAULT 0,
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `delay` INT unsigned NOT NULL DEFAULT 0,
+ `command` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `datalong` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `datalong2` INT unsigned NOT NULL DEFAULT 0,
+ `dataint` INT NOT NULL DEFAULT 0,
`x` float NOT NULL DEFAULT 0,
`y` float NOT NULL DEFAULT 0,
`z` float NOT NULL DEFAULT 0,
`o` float NOT NULL DEFAULT 0
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `event_scripts` WRITE;
diff --git a/data/sql/base/db_world/exploration_basexp.sql b/data/sql/base/db_world/exploration_basexp.sql
index 69e36f51ef..d3da20ac7a 100644
--- a/data/sql/base/db_world/exploration_basexp.sql
+++ b/data/sql/base/db_world/exploration_basexp.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `exploration_basexp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `exploration_basexp`
(
- `level` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `basexp` mediumint(8) NOT NULL DEFAULT 0,
+ `level` TINYINT unsigned NOT NULL DEFAULT 0,
+ `basexp` MEDIUMINT NOT NULL DEFAULT 0,
PRIMARY KEY (`level`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Exploration System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Exploration System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `exploration_basexp` WRITE;
diff --git a/data/sql/base/db_world/faction_dbc.sql b/data/sql/base/db_world/faction_dbc.sql
index ec7c88ec6d..c0907f6ffb 100644
--- a/data/sql/base/db_world/faction_dbc.sql
+++ b/data/sql/base/db_world/faction_dbc.sql
@@ -6,32 +6,32 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `faction_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `faction_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ReputationIndex` int(11) NOT NULL DEFAULT 0,
- `ReputationRaceMask_1` int(11) NOT NULL DEFAULT 0,
- `ReputationRaceMask_2` int(11) NOT NULL DEFAULT 0,
- `ReputationRaceMask_3` int(11) NOT NULL DEFAULT 0,
- `ReputationRaceMask_4` int(11) NOT NULL DEFAULT 0,
- `ReputationClassMask_1` int(11) NOT NULL DEFAULT 0,
- `ReputationClassMask_2` int(11) NOT NULL DEFAULT 0,
- `ReputationClassMask_3` int(11) NOT NULL DEFAULT 0,
- `ReputationClassMask_4` int(11) NOT NULL DEFAULT 0,
- `ReputationBase_1` int(11) NOT NULL DEFAULT 0,
- `ReputationBase_2` int(11) NOT NULL DEFAULT 0,
- `ReputationBase_3` int(11) NOT NULL DEFAULT 0,
- `ReputationBase_4` int(11) NOT NULL DEFAULT 0,
- `ReputationFlags_1` int(11) NOT NULL DEFAULT 0,
- `ReputationFlags_2` int(11) NOT NULL DEFAULT 0,
- `ReputationFlags_3` int(11) NOT NULL DEFAULT 0,
- `ReputationFlags_4` int(11) NOT NULL DEFAULT 0,
- `ParentFactionID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ReputationIndex` INT NOT NULL DEFAULT 0,
+ `ReputationRaceMask_1` INT NOT NULL DEFAULT 0,
+ `ReputationRaceMask_2` INT NOT NULL DEFAULT 0,
+ `ReputationRaceMask_3` INT NOT NULL DEFAULT 0,
+ `ReputationRaceMask_4` INT NOT NULL DEFAULT 0,
+ `ReputationClassMask_1` INT NOT NULL DEFAULT 0,
+ `ReputationClassMask_2` INT NOT NULL DEFAULT 0,
+ `ReputationClassMask_3` INT NOT NULL DEFAULT 0,
+ `ReputationClassMask_4` INT NOT NULL DEFAULT 0,
+ `ReputationBase_1` INT NOT NULL DEFAULT 0,
+ `ReputationBase_2` INT NOT NULL DEFAULT 0,
+ `ReputationBase_3` INT NOT NULL DEFAULT 0,
+ `ReputationBase_4` INT NOT NULL DEFAULT 0,
+ `ReputationFlags_1` INT NOT NULL DEFAULT 0,
+ `ReputationFlags_2` INT NOT NULL DEFAULT 0,
+ `ReputationFlags_3` INT NOT NULL DEFAULT 0,
+ `ReputationFlags_4` INT NOT NULL DEFAULT 0,
+ `ParentFactionID` INT NOT NULL DEFAULT 0,
`ParentFactionMod_1` float NOT NULL DEFAULT 0,
`ParentFactionMod_2` float NOT NULL DEFAULT 0,
- `ParentFactionCap_1` int(11) NOT NULL DEFAULT 0,
- `ParentFactionCap_2` int(11) NOT NULL DEFAULT 0,
+ `ParentFactionCap_1` INT NOT NULL DEFAULT 0,
+ `ParentFactionCap_2` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -48,7 +48,7 @@ CREATE TABLE `faction_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(300) DEFAULT NULL,
`Description_Lang_enGB` varchar(300) DEFAULT NULL,
`Description_Lang_koKR` varchar(300) DEFAULT NULL,
@@ -65,9 +65,9 @@ CREATE TABLE `faction_dbc`
`Description_Lang_ptBR` varchar(300) DEFAULT NULL,
`Description_Lang_itIT` varchar(300) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `faction_dbc` WRITE;
diff --git a/data/sql/base/db_world/factiontemplate_dbc.sql b/data/sql/base/db_world/factiontemplate_dbc.sql
index 6bbe0c220d..9506b137cf 100644
--- a/data/sql/base/db_world/factiontemplate_dbc.sql
+++ b/data/sql/base/db_world/factiontemplate_dbc.sql
@@ -6,25 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `factiontemplate_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `factiontemplate_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Faction` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `FactionGroup` int(11) NOT NULL DEFAULT 0,
- `FriendGroup` int(11) NOT NULL DEFAULT 0,
- `EnemyGroup` int(11) NOT NULL DEFAULT 0,
- `Enemies_1` int(11) NOT NULL DEFAULT 0,
- `Enemies_2` int(11) NOT NULL DEFAULT 0,
- `Enemies_3` int(11) NOT NULL DEFAULT 0,
- `Enemies_4` int(11) NOT NULL DEFAULT 0,
- `Friend_1` int(11) NOT NULL DEFAULT 0,
- `Friend_2` int(11) NOT NULL DEFAULT 0,
- `Friend_3` int(11) NOT NULL DEFAULT 0,
- `Friend_4` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Faction` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `FactionGroup` INT NOT NULL DEFAULT 0,
+ `FriendGroup` INT NOT NULL DEFAULT 0,
+ `EnemyGroup` INT NOT NULL DEFAULT 0,
+ `Enemies_1` INT NOT NULL DEFAULT 0,
+ `Enemies_2` INT NOT NULL DEFAULT 0,
+ `Enemies_3` INT NOT NULL DEFAULT 0,
+ `Enemies_4` INT NOT NULL DEFAULT 0,
+ `Friend_1` INT NOT NULL DEFAULT 0,
+ `Friend_2` INT NOT NULL DEFAULT 0,
+ `Friend_3` INT NOT NULL DEFAULT 0,
+ `Friend_4` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `factiontemplate_dbc` WRITE;
diff --git a/data/sql/base/db_world/fishing_loot_template.sql b/data/sql/base/db_world/fishing_loot_template.sql
index 7d8002c91e..fb198fed9d 100644
--- a/data/sql/base/db_world/fishing_loot_template.sql
+++ b/data/sql/base/db_world/fishing_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `fishing_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `fishing_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `fishing_loot_template` WRITE;
diff --git a/data/sql/base/db_world/game_event.sql b/data/sql/base/db_world/game_event.sql
index f4f15b8d81..1b6ad19ff5 100644
--- a/data/sql/base/db_world/game_event.sql
+++ b/data/sql/base/db_world/game_event.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
`start_time` timestamp NULL DEFAULT '2000-01-01 07:00:00' COMMENT 'Absolute start date, the event will never start before',
`end_time` timestamp NULL DEFAULT '2000-01-01 07:00:00' COMMENT 'Absolute end date, the event will never start after',
- `occurence` bigint(20) unsigned NOT NULL DEFAULT 5184000 COMMENT 'Delay in minutes between occurences of the event',
- `length` bigint(20) unsigned NOT NULL DEFAULT 2592000 COMMENT 'Length in minutes of the event',
- `holiday` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Client side holiday id',
- `holidayStage` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `occurence` BIGINT unsigned NOT NULL DEFAULT 5184000 COMMENT 'Delay in minutes between occurences of the event',
+ `length` BIGINT unsigned NOT NULL DEFAULT 2592000 COMMENT 'Length in minutes of the event',
+ `holiday` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Client side holiday id',
+ `holidayStage` TINYINT unsigned NOT NULL DEFAULT 0,
`description` varchar(255) DEFAULT NULL COMMENT 'Description of the event displayed in console',
- `world_event` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT '0 if normal event, 1 if world event',
- `announce` tinyint(3) unsigned NOT NULL DEFAULT 2 COMMENT '0 dont announce, 1 announce, 2 value from config',
+ `world_event` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT '0 if normal event, 1 if world event',
+ `announce` TINYINT unsigned NOT NULL DEFAULT 2 COMMENT '0 dont announce, 1 announce, 2 value from config',
PRIMARY KEY (`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event` WRITE;
diff --git a/data/sql/base/db_world/game_event_arena_seasons.sql b/data/sql/base/db_world/game_event_arena_seasons.sql
index 4214c7beb1..dc52520ea7 100644
--- a/data/sql/base/db_world/game_event_arena_seasons.sql
+++ b/data/sql/base/db_world/game_event_arena_seasons.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_arena_seasons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_arena_seasons`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
- `season` tinyint(3) unsigned NOT NULL COMMENT 'Arena season number',
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
+ `season` TINYINT unsigned NOT NULL COMMENT 'Arena season number',
UNIQUE KEY `season` (`season`,`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_arena_seasons` WRITE;
diff --git a/data/sql/base/db_world/game_event_battleground_holiday.sql b/data/sql/base/db_world/game_event_battleground_holiday.sql
index a4b7ae6798..533045285b 100644
--- a/data/sql/base/db_world/game_event_battleground_holiday.sql
+++ b/data/sql/base/db_world/game_event_battleground_holiday.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_battleground_holiday`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_battleground_holiday`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
- `bgflag` int(10) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
+ `bgflag` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_battleground_holiday` WRITE;
diff --git a/data/sql/base/db_world/game_event_condition.sql b/data/sql/base/db_world/game_event_condition.sql
index a831f28a42..ca39ab512e 100644
--- a/data/sql/base/db_world/game_event_condition.sql
+++ b/data/sql/base/db_world/game_event_condition.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_condition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_condition`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
- `condition_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
+ `condition_id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`req_num` float DEFAULT 0,
- `max_world_state_field` smallint(5) unsigned NOT NULL DEFAULT 0,
- `done_world_state_field` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `max_world_state_field` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `done_world_state_field` SMALLINT unsigned NOT NULL DEFAULT 0,
`description` varchar(25) NOT NULL DEFAULT '',
PRIMARY KEY (`eventEntry`,`condition_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_condition` WRITE;
diff --git a/data/sql/base/db_world/game_event_creature.sql b/data/sql/base/db_world/game_event_creature.sql
index bb8188e6ac..850cb4b98f 100644
--- a/data/sql/base/db_world/game_event_creature.sql
+++ b/data/sql/base/db_world/game_event_creature.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_creature`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_creature`
(
- `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.',
- `guid` int(10) unsigned NOT NULL,
+ `eventEntry` TINYINT NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.',
+ `guid` INT unsigned NOT NULL,
PRIMARY KEY (`guid`,`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_creature` WRITE;
diff --git a/data/sql/base/db_world/game_event_creature_quest.sql b/data/sql/base/db_world/game_event_creature_quest.sql
index cf302c4dbd..98dc11e2b0 100644
--- a/data/sql/base/db_world/game_event_creature_quest.sql
+++ b/data/sql/base/db_world/game_event_creature_quest.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_creature_quest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_creature_quest`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event.',
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event.',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`quest`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_creature_quest` WRITE;
diff --git a/data/sql/base/db_world/game_event_gameobject.sql b/data/sql/base/db_world/game_event_gameobject.sql
index 11e5e2d944..c829cc377d 100644
--- a/data/sql/base/db_world/game_event_gameobject.sql
+++ b/data/sql/base/db_world/game_event_gameobject.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_gameobject`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_gameobject`
(
- `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.',
- `guid` int(10) unsigned NOT NULL,
+ `eventEntry` TINYINT NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.',
+ `guid` INT unsigned NOT NULL,
PRIMARY KEY (`guid`,`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_gameobject` WRITE;
diff --git a/data/sql/base/db_world/game_event_gameobject_quest.sql b/data/sql/base/db_world/game_event_gameobject_quest.sql
index ebd7cb566a..9cc39ab995 100644
--- a/data/sql/base/db_world/game_event_gameobject_quest.sql
+++ b/data/sql/base/db_world/game_event_gameobject_quest.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_gameobject_quest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_gameobject_quest`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`quest`,`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_gameobject_quest` WRITE;
diff --git a/data/sql/base/db_world/game_event_model_equip.sql b/data/sql/base/db_world/game_event_model_equip.sql
index df8573477f..699326bad8 100644
--- a/data/sql/base/db_world/game_event_model_equip.sql
+++ b/data/sql/base/db_world/game_event_model_equip.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_model_equip`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_model_equip`
(
- `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.',
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `modelid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT NOT NULL COMMENT 'Entry of the game event.',
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `modelid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `equipment_id` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_model_equip` WRITE;
diff --git a/data/sql/base/db_world/game_event_npc_vendor.sql b/data/sql/base/db_world/game_event_npc_vendor.sql
index bb061badf2..1b21c89aa8 100644
--- a/data/sql/base/db_world/game_event_npc_vendor.sql
+++ b/data/sql/base/db_world/game_event_npc_vendor.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_npc_vendor`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_npc_vendor`
(
- `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.',
- `guid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `slot` smallint(6) NOT NULL DEFAULT 0,
- `item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `maxcount` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `incrtime` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT NOT NULL COMMENT 'Entry of the game event.',
+ `guid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `slot` SMALLINT NOT NULL DEFAULT 0,
+ `item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `maxcount` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `incrtime` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ExtendedCost` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`item`),
KEY `slot` (`slot`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_npc_vendor` WRITE;
diff --git a/data/sql/base/db_world/game_event_npcflag.sql b/data/sql/base/db_world/game_event_npcflag.sql
index 92ab07b50f..a218fa1a6c 100644
--- a/data/sql/base/db_world/game_event_npcflag.sql
+++ b/data/sql/base/db_world/game_event_npcflag.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_npcflag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_npcflag`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
- `guid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `npcflag` int(10) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
+ `guid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `npcflag` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`eventEntry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_npcflag` WRITE;
diff --git a/data/sql/base/db_world/game_event_pool.sql b/data/sql/base/db_world/game_event_pool.sql
index 4d130fb74e..dc6630ae05 100644
--- a/data/sql/base/db_world/game_event_pool.sql
+++ b/data/sql/base/db_world/game_event_pool.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_pool`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_pool`
(
- `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.',
- `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Id of the pool',
+ `eventEntry` TINYINT NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.',
+ `pool_entry` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Id of the pool',
PRIMARY KEY (`pool_entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_pool` WRITE;
diff --git a/data/sql/base/db_world/game_event_prerequisite.sql b/data/sql/base/db_world/game_event_prerequisite.sql
index 62c3837761..d8b3dc8b29 100644
--- a/data/sql/base/db_world/game_event_prerequisite.sql
+++ b/data/sql/base/db_world/game_event_prerequisite.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_prerequisite`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_prerequisite`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event',
- `prerequisite_event` mediumint(8) unsigned NOT NULL,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event',
+ `prerequisite_event` MEDIUMINT unsigned NOT NULL,
PRIMARY KEY (`eventEntry`,`prerequisite_event`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_prerequisite` WRITE;
diff --git a/data/sql/base/db_world/game_event_quest_condition.sql b/data/sql/base/db_world/game_event_quest_condition.sql
index a88f4e79b0..d7a8f0f8ee 100644
--- a/data/sql/base/db_world/game_event_quest_condition.sql
+++ b/data/sql/base/db_world/game_event_quest_condition.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_quest_condition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_quest_condition`
(
- `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event.',
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `condition_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `eventEntry` TINYINT unsigned NOT NULL COMMENT 'Entry of the game event.',
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `condition_id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`num` float DEFAULT 0,
PRIMARY KEY (`quest`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_quest_condition` WRITE;
diff --git a/data/sql/base/db_world/game_event_seasonal_questrelation.sql b/data/sql/base/db_world/game_event_seasonal_questrelation.sql
index c403f1fb6d..92b8b2668b 100644
--- a/data/sql/base/db_world/game_event_seasonal_questrelation.sql
+++ b/data/sql/base/db_world/game_event_seasonal_questrelation.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_seasonal_questrelation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_event_seasonal_questrelation`
(
- `questId` int(10) unsigned NOT NULL COMMENT 'Quest Identifier',
- `eventEntry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of the game event',
+ `questId` INT unsigned NOT NULL COMMENT 'Quest Identifier',
+ `eventEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of the game event',
PRIMARY KEY (`questId`,`eventEntry`),
KEY `idx_quest` (`questId`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Player System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_seasonal_questrelation` WRITE;
diff --git a/data/sql/base/db_world/game_graveyard.sql b/data/sql/base/db_world/game_graveyard.sql
index caa7cf6668..423277fbe2 100644
--- a/data/sql/base/db_world/game_graveyard.sql
+++ b/data/sql/base/db_world/game_graveyard.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_graveyard`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_graveyard`
(
- `ID` int(10) NOT NULL DEFAULT 0,
- `Map` int(10) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Map` INT NOT NULL DEFAULT 0,
`x` float NOT NULL DEFAULT 0,
`y` float NOT NULL DEFAULT 0,
`z` float NOT NULL DEFAULT 0,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_graveyard` WRITE;
diff --git a/data/sql/base/db_world/game_tele.sql b/data/sql/base/db_world/game_tele.sql
index 049d75d11d..4b9bd820ab 100644
--- a/data/sql/base/db_world/game_tele.sql
+++ b/data/sql/base/db_world/game_tele.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_tele`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_tele`
(
- `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
+ `id` MEDIUMINT unsigned NOT NULL AUTO_INCREMENT,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
- `map` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `map` SMALLINT unsigned NOT NULL DEFAULT 0,
`name` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
-) ENGINE=MyISAM AUTO_INCREMENT=1491 DEFAULT CHARSET=utf8 COMMENT='Tele Command';
+) ENGINE=MyISAM AUTO_INCREMENT=1491 DEFAULT CHARSET=UTF8MB4 COMMENT='Tele Command';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_tele` WRITE;
diff --git a/data/sql/base/db_world/game_weather.sql b/data/sql/base/db_world/game_weather.sql
index b30e750d39..c5240885c7 100644
--- a/data/sql/base/db_world/game_weather.sql
+++ b/data/sql/base/db_world/game_weather.sql
@@ -6,25 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_weather`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `game_weather`
(
- `zone` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `spring_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `spring_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `spring_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `summer_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `summer_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `summer_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `fall_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `fall_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `fall_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `winter_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `winter_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
- `winter_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25,
+ `zone` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `spring_rain_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `spring_snow_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `spring_storm_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `summer_rain_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `summer_snow_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `summer_storm_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `fall_rain_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `fall_snow_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `fall_storm_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `winter_rain_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `winter_snow_chance` TINYINT unsigned NOT NULL DEFAULT 25,
+ `winter_storm_chance` TINYINT unsigned NOT NULL DEFAULT 25,
`ScriptName` char(64) NOT NULL DEFAULT '',
PRIMARY KEY (`zone`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Weather System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Weather System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_weather` WRITE;
diff --git a/data/sql/base/db_world/gameobject.sql b/data/sql/base/db_world/gameobject.sql
index dc8c798dae..f2845fe824 100644
--- a/data/sql/base/db_world/gameobject.sql
+++ b/data/sql/base/db_world/gameobject.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject`
(
- `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier',
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Gameobject Identifier',
- `map` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
- `zoneId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
- `areaId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Area Identifier',
- `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `phaseMask` int(10) unsigned NOT NULL DEFAULT 1,
+ `guid` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Gameobject Identifier',
+ `map` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
+ `zoneId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
+ `areaId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Area Identifier',
+ `spawnMask` TINYINT unsigned NOT NULL DEFAULT 1,
+ `phaseMask` INT unsigned NOT NULL DEFAULT 1,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
@@ -24,13 +24,13 @@ CREATE TABLE `gameobject`
`rotation1` float NOT NULL DEFAULT 0,
`rotation2` float NOT NULL DEFAULT 0,
`rotation3` float NOT NULL DEFAULT 0,
- `spawntimesecs` int(11) NOT NULL DEFAULT 0,
- `animprogress` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `spawntimesecs` INT NOT NULL DEFAULT 0,
+ `animprogress` TINYINT unsigned NOT NULL DEFAULT 0,
+ `state` TINYINT unsigned NOT NULL DEFAULT 0,
`ScriptName` char(64) DEFAULT '',
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=MyISAM AUTO_INCREMENT=2134519 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System';
+) ENGINE=MyISAM AUTO_INCREMENT=2134519 DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Gameobject System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject` WRITE;
diff --git a/data/sql/base/db_world/gameobject_addon.sql b/data/sql/base/db_world/gameobject_addon.sql
index 1f03a0107d..771fc12015 100644
--- a/data/sql/base/db_world/gameobject_addon.sql
+++ b/data/sql/base/db_world/gameobject_addon.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_addon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_addon`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `invisibilityType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `invisibilityValue` int(10) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `invisibilityType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `invisibilityValue` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_addon` WRITE;
diff --git a/data/sql/base/db_world/gameobject_loot_template.sql b/data/sql/base/db_world/gameobject_loot_template.sql
index 98ba7936c6..fe7599d548 100644
--- a/data/sql/base/db_world/gameobject_loot_template.sql
+++ b/data/sql/base/db_world/gameobject_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_loot_template` WRITE;
diff --git a/data/sql/base/db_world/gameobject_questender.sql b/data/sql/base/db_world/gameobject_questender.sql
index 7b6afb81e6..303307bc01 100644
--- a/data/sql/base/db_world/gameobject_questender.sql
+++ b/data/sql/base/db_world/gameobject_questender.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_questender`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_questender`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`id`,`quest`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_questender` WRITE;
diff --git a/data/sql/base/db_world/gameobject_questitem.sql b/data/sql/base/db_world/gameobject_questitem.sql
index 2a4a5e2a7f..f3aec7375a 100644
--- a/data/sql/base/db_world/gameobject_questitem.sql
+++ b/data/sql/base/db_world/gameobject_questitem.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_questitem`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_questitem`
(
- `GameObjectEntry` int(10) unsigned NOT NULL DEFAULT 0,
- `Idx` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemId` int(10) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0,
+ `GameObjectEntry` INT unsigned NOT NULL DEFAULT 0,
+ `Idx` INT unsigned NOT NULL DEFAULT 0,
+ `ItemId` INT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`GameObjectEntry`,`Idx`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_questitem` WRITE;
diff --git a/data/sql/base/db_world/gameobject_queststarter.sql b/data/sql/base/db_world/gameobject_queststarter.sql
index 4260a96cf8..61ca7364f4 100644
--- a/data/sql/base/db_world/gameobject_queststarter.sql
+++ b/data/sql/base/db_world/gameobject_queststarter.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_queststarter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_queststarter`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`id`,`quest`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_queststarter` WRITE;
diff --git a/data/sql/base/db_world/gameobject_template.sql b/data/sql/base/db_world/gameobject_template.sql
index ad2237252e..5dff52b706 100644
--- a/data/sql/base/db_world/gameobject_template.sql
+++ b/data/sql/base/db_world/gameobject_template.sql
@@ -6,47 +6,47 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_template`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `displayId` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `displayId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`name` varchar(100) NOT NULL DEFAULT '',
`IconName` varchar(100) NOT NULL DEFAULT '',
`castBarCaption` varchar(100) NOT NULL DEFAULT '',
`unk1` varchar(100) NOT NULL DEFAULT '',
`size` float NOT NULL DEFAULT 1,
- `Data0` int(10) unsigned NOT NULL DEFAULT 0,
- `Data1` int(11) NOT NULL DEFAULT 0,
- `Data2` int(10) unsigned NOT NULL DEFAULT 0,
- `Data3` int(10) unsigned NOT NULL DEFAULT 0,
- `Data4` int(10) unsigned NOT NULL DEFAULT 0,
- `Data5` int(10) unsigned NOT NULL DEFAULT 0,
- `Data6` int(11) NOT NULL DEFAULT 0,
- `Data7` int(10) unsigned NOT NULL DEFAULT 0,
- `Data8` int(10) unsigned NOT NULL DEFAULT 0,
- `Data9` int(10) unsigned NOT NULL DEFAULT 0,
- `Data10` int(10) unsigned NOT NULL DEFAULT 0,
- `Data11` int(10) unsigned NOT NULL DEFAULT 0,
- `Data12` int(10) unsigned NOT NULL DEFAULT 0,
- `Data13` int(10) unsigned NOT NULL DEFAULT 0,
- `Data14` int(10) unsigned NOT NULL DEFAULT 0,
- `Data15` int(10) unsigned NOT NULL DEFAULT 0,
- `Data16` int(10) unsigned NOT NULL DEFAULT 0,
- `Data17` int(10) unsigned NOT NULL DEFAULT 0,
- `Data18` int(10) unsigned NOT NULL DEFAULT 0,
- `Data19` int(10) unsigned NOT NULL DEFAULT 0,
- `Data20` int(10) unsigned NOT NULL DEFAULT 0,
- `Data21` int(10) unsigned NOT NULL DEFAULT 0,
- `Data22` int(10) unsigned NOT NULL DEFAULT 0,
- `Data23` int(10) unsigned NOT NULL DEFAULT 0,
+ `Data0` INT unsigned NOT NULL DEFAULT 0,
+ `Data1` INT NOT NULL DEFAULT 0,
+ `Data2` INT unsigned NOT NULL DEFAULT 0,
+ `Data3` INT unsigned NOT NULL DEFAULT 0,
+ `Data4` INT unsigned NOT NULL DEFAULT 0,
+ `Data5` INT unsigned NOT NULL DEFAULT 0,
+ `Data6` INT NOT NULL DEFAULT 0,
+ `Data7` INT unsigned NOT NULL DEFAULT 0,
+ `Data8` INT unsigned NOT NULL DEFAULT 0,
+ `Data9` INT unsigned NOT NULL DEFAULT 0,
+ `Data10` INT unsigned NOT NULL DEFAULT 0,
+ `Data11` INT unsigned NOT NULL DEFAULT 0,
+ `Data12` INT unsigned NOT NULL DEFAULT 0,
+ `Data13` INT unsigned NOT NULL DEFAULT 0,
+ `Data14` INT unsigned NOT NULL DEFAULT 0,
+ `Data15` INT unsigned NOT NULL DEFAULT 0,
+ `Data16` INT unsigned NOT NULL DEFAULT 0,
+ `Data17` INT unsigned NOT NULL DEFAULT 0,
+ `Data18` INT unsigned NOT NULL DEFAULT 0,
+ `Data19` INT unsigned NOT NULL DEFAULT 0,
+ `Data20` INT unsigned NOT NULL DEFAULT 0,
+ `Data21` INT unsigned NOT NULL DEFAULT 0,
+ `Data22` INT unsigned NOT NULL DEFAULT 0,
+ `Data23` INT unsigned NOT NULL DEFAULT 0,
`AIName` char(64) NOT NULL DEFAULT '',
`ScriptName` varchar(64) NOT NULL DEFAULT '',
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`),
KEY `idx_name` (`name`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Gameobject System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_template` WRITE;
diff --git a/data/sql/base/db_world/gameobject_template_addon.sql b/data/sql/base/db_world/gameobject_template_addon.sql
index f13b400051..f87bcb70b1 100644
--- a/data/sql/base/db_world/gameobject_template_addon.sql
+++ b/data/sql/base/db_world/gameobject_template_addon.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_template_addon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_template_addon`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `faction` smallint(5) unsigned NOT NULL DEFAULT 0,
- `flags` int(10) unsigned NOT NULL DEFAULT 0,
- `mingold` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `maxgold` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `faction` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `flags` INT unsigned NOT NULL DEFAULT 0,
+ `mingold` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `maxgold` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_template_addon` WRITE;
diff --git a/data/sql/base/db_world/gameobject_template_locale.sql b/data/sql/base/db_world/gameobject_template_locale.sql
index 947180066a..31d6ea6066 100644
--- a/data/sql/base/db_world/gameobject_template_locale.sql
+++ b/data/sql/base/db_world/gameobject_template_locale.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_template_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_template_locale`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`name` text DEFAULT NULL,
`castBarCaption` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`,`locale`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_template_locale` WRITE;
diff --git a/data/sql/base/db_world/gameobjectdisplayinfo_dbc.sql b/data/sql/base/db_world/gameobjectdisplayinfo_dbc.sql
index 490b9e9898..2ecec37552 100644
--- a/data/sql/base/db_world/gameobjectdisplayinfo_dbc.sql
+++ b/data/sql/base/db_world/gameobjectdisplayinfo_dbc.sql
@@ -6,30 +6,30 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobjectdisplayinfo_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobjectdisplayinfo_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`ModelName` varchar(200) DEFAULT NULL,
- `Sound_1` int(11) NOT NULL DEFAULT 0,
- `Sound_2` int(11) NOT NULL DEFAULT 0,
- `Sound_3` int(11) NOT NULL DEFAULT 0,
- `Sound_4` int(11) NOT NULL DEFAULT 0,
- `Sound_5` int(11) NOT NULL DEFAULT 0,
- `Sound_6` int(11) NOT NULL DEFAULT 0,
- `Sound_7` int(11) NOT NULL DEFAULT 0,
- `Sound_8` int(11) NOT NULL DEFAULT 0,
- `Sound_9` int(11) NOT NULL DEFAULT 0,
- `Sound_10` int(11) NOT NULL DEFAULT 0,
+ `Sound_1` INT NOT NULL DEFAULT 0,
+ `Sound_2` INT NOT NULL DEFAULT 0,
+ `Sound_3` INT NOT NULL DEFAULT 0,
+ `Sound_4` INT NOT NULL DEFAULT 0,
+ `Sound_5` INT NOT NULL DEFAULT 0,
+ `Sound_6` INT NOT NULL DEFAULT 0,
+ `Sound_7` INT NOT NULL DEFAULT 0,
+ `Sound_8` INT NOT NULL DEFAULT 0,
+ `Sound_9` INT NOT NULL DEFAULT 0,
+ `Sound_10` INT NOT NULL DEFAULT 0,
`GeoBoxMinX` float NOT NULL DEFAULT 0,
`GeoBoxMinY` float NOT NULL DEFAULT 0,
`GeoBoxMinZ` float NOT NULL DEFAULT 0,
`GeoBoxMaxX` float NOT NULL DEFAULT 0,
`GeoBoxMaxY` float NOT NULL DEFAULT 0,
`GeoBoxMaxZ` float NOT NULL DEFAULT 0,
- `ObjectEffectPackageID` int(11) NOT NULL DEFAULT 0,
+ `ObjectEffectPackageID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobjectdisplayinfo_dbc` WRITE;
diff --git a/data/sql/base/db_world/gemproperties_dbc.sql b/data/sql/base/db_world/gemproperties_dbc.sql
index 4b9ce12f0f..6807c88e4a 100644
--- a/data/sql/base/db_world/gemproperties_dbc.sql
+++ b/data/sql/base/db_world/gemproperties_dbc.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gemproperties_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gemproperties_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Enchant_Id` int(11) NOT NULL DEFAULT 0,
- `Maxcount_Inv` int(11) NOT NULL DEFAULT 0,
- `Maxcount_Item` int(11) NOT NULL DEFAULT 0,
- `Type` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Enchant_Id` INT NOT NULL DEFAULT 0,
+ `Maxcount_Inv` INT NOT NULL DEFAULT 0,
+ `Maxcount_Item` INT NOT NULL DEFAULT 0,
+ `Type` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gemproperties_dbc` WRITE;
diff --git a/data/sql/base/db_world/glyphproperties_dbc.sql b/data/sql/base/db_world/glyphproperties_dbc.sql
index d506881914..2ef7826234 100644
--- a/data/sql/base/db_world/glyphproperties_dbc.sql
+++ b/data/sql/base/db_world/glyphproperties_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `glyphproperties_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `glyphproperties_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `SpellID` int(11) NOT NULL DEFAULT 0,
- `GlyphSlotFlags` int(11) NOT NULL DEFAULT 0,
- `SpellIconID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `SpellID` INT NOT NULL DEFAULT 0,
+ `GlyphSlotFlags` INT NOT NULL DEFAULT 0,
+ `SpellIconID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `glyphproperties_dbc` WRITE;
diff --git a/data/sql/base/db_world/glyphslot_dbc.sql b/data/sql/base/db_world/glyphslot_dbc.sql
index 8cdf546306..6668a3ddf9 100644
--- a/data/sql/base/db_world/glyphslot_dbc.sql
+++ b/data/sql/base/db_world/glyphslot_dbc.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `glyphslot_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `glyphslot_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Type` int(11) NOT NULL DEFAULT 0,
- `Tooltip` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Type` INT NOT NULL DEFAULT 0,
+ `Tooltip` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `glyphslot_dbc` WRITE;
diff --git a/data/sql/base/db_world/gossip_menu.sql b/data/sql/base/db_world/gossip_menu.sql
index 849e494bc4..3abf75e65d 100644
--- a/data/sql/base/db_world/gossip_menu.sql
+++ b/data/sql/base/db_world/gossip_menu.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gossip_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gossip_menu`
(
- `MenuID` smallint(5) unsigned NOT NULL DEFAULT 0,
- `TextID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `MenuID` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `TextID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`MenuID`,`TextID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gossip_menu` WRITE;
diff --git a/data/sql/base/db_world/gossip_menu_option.sql b/data/sql/base/db_world/gossip_menu_option.sql
index 9d520e2258..cb146fe585 100644
--- a/data/sql/base/db_world/gossip_menu_option.sql
+++ b/data/sql/base/db_world/gossip_menu_option.sql
@@ -6,25 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gossip_menu_option`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gossip_menu_option`
(
- `MenuID` smallint(5) unsigned NOT NULL DEFAULT 0,
- `OptionID` smallint(5) unsigned NOT NULL DEFAULT 0,
- `OptionIcon` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `MenuID` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `OptionID` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `OptionIcon` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`OptionText` text DEFAULT NULL,
- `OptionBroadcastTextID` mediumint(6) NOT NULL DEFAULT 0,
- `OptionType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `OptionNpcFlag` int(10) unsigned NOT NULL DEFAULT 0,
- `ActionMenuID` int(10) unsigned NOT NULL DEFAULT 0,
- `ActionPoiID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `BoxMoney` int(10) unsigned NOT NULL DEFAULT 0,
+ `OptionBroadcastTextID` MEDIUMINT NOT NULL DEFAULT 0,
+ `OptionType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `OptionNpcFlag` INT unsigned NOT NULL DEFAULT 0,
+ `ActionMenuID` INT unsigned NOT NULL DEFAULT 0,
+ `ActionPoiID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `BoxCoded` TINYINT unsigned NOT NULL DEFAULT 0,
+ `BoxMoney` INT unsigned NOT NULL DEFAULT 0,
`BoxText` text DEFAULT NULL,
- `BoxBroadcastTextID` mediumint(6) NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0,
+ `BoxBroadcastTextID` MEDIUMINT NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`MenuID`,`OptionID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gossip_menu_option` WRITE;
diff --git a/data/sql/base/db_world/gossip_menu_option_locale.sql b/data/sql/base/db_world/gossip_menu_option_locale.sql
index 77e73c6be1..ea3f2dd036 100644
--- a/data/sql/base/db_world/gossip_menu_option_locale.sql
+++ b/data/sql/base/db_world/gossip_menu_option_locale.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gossip_menu_option_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gossip_menu_option_locale`
(
- `MenuID` smallint(6) unsigned NOT NULL DEFAULT 0,
- `OptionID` smallint(6) unsigned NOT NULL DEFAULT 0,
+ `MenuID` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `OptionID` SMALLINT unsigned NOT NULL DEFAULT 0,
`Locale` varchar(4) NOT NULL,
`OptionText` text DEFAULT NULL,
`BoxText` text DEFAULT NULL,
PRIMARY KEY (`MenuID`,`OptionID`,`Locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gossip_menu_option_locale` WRITE;
diff --git a/data/sql/base/db_world/graveyard_zone.sql b/data/sql/base/db_world/graveyard_zone.sql
index f92cf1911f..34855f0de5 100644
--- a/data/sql/base/db_world/graveyard_zone.sql
+++ b/data/sql/base/db_world/graveyard_zone.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `graveyard_zone`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `graveyard_zone`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `GhostZone` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Faction` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `GhostZone` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Faction` SMALLINT unsigned NOT NULL DEFAULT 0,
`Comment` text DEFAULT NULL,
PRIMARY KEY (`ID`,`GhostZone`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Trigger System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `graveyard_zone` WRITE;
diff --git a/data/sql/base/db_world/gtbarbershopcostbase_dbc.sql b/data/sql/base/db_world/gtbarbershopcostbase_dbc.sql
index dc6bdc1a23..d7c9ac851d 100644
--- a/data/sql/base/db_world/gtbarbershopcostbase_dbc.sql
+++ b/data/sql/base/db_world/gtbarbershopcostbase_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtbarbershopcostbase_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtbarbershopcostbase_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtbarbershopcostbase_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtchancetomeleecrit_dbc.sql b/data/sql/base/db_world/gtchancetomeleecrit_dbc.sql
index c571039212..6b1c913d50 100644
--- a/data/sql/base/db_world/gtchancetomeleecrit_dbc.sql
+++ b/data/sql/base/db_world/gtchancetomeleecrit_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtchancetomeleecrit_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtchancetomeleecrit_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtchancetomeleecrit_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtchancetomeleecritbase_dbc.sql b/data/sql/base/db_world/gtchancetomeleecritbase_dbc.sql
index bd04f3f949..826ec6acb0 100644
--- a/data/sql/base/db_world/gtchancetomeleecritbase_dbc.sql
+++ b/data/sql/base/db_world/gtchancetomeleecritbase_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtchancetomeleecritbase_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtchancetomeleecritbase_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtchancetomeleecritbase_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtchancetospellcrit_dbc.sql b/data/sql/base/db_world/gtchancetospellcrit_dbc.sql
index 1d403e6626..14a8ab8f34 100644
--- a/data/sql/base/db_world/gtchancetospellcrit_dbc.sql
+++ b/data/sql/base/db_world/gtchancetospellcrit_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtchancetospellcrit_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtchancetospellcrit_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtchancetospellcrit_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtchancetospellcritbase_dbc.sql b/data/sql/base/db_world/gtchancetospellcritbase_dbc.sql
index 800d7202e8..54352a9c01 100644
--- a/data/sql/base/db_world/gtchancetospellcritbase_dbc.sql
+++ b/data/sql/base/db_world/gtchancetospellcritbase_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtchancetospellcritbase_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtchancetospellcritbase_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtchancetospellcritbase_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtcombatratings_dbc.sql b/data/sql/base/db_world/gtcombatratings_dbc.sql
index 7c43d2d3bb..7f223c9765 100644
--- a/data/sql/base/db_world/gtcombatratings_dbc.sql
+++ b/data/sql/base/db_world/gtcombatratings_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtcombatratings_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtcombatratings_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtcombatratings_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtnpcmanacostscaler_dbc.sql b/data/sql/base/db_world/gtnpcmanacostscaler_dbc.sql
index 926a010b85..753febf652 100644
--- a/data/sql/base/db_world/gtnpcmanacostscaler_dbc.sql
+++ b/data/sql/base/db_world/gtnpcmanacostscaler_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtnpcmanacostscaler_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtnpcmanacostscaler_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtnpcmanacostscaler_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtoctclasscombatratingscalar_dbc.sql b/data/sql/base/db_world/gtoctclasscombatratingscalar_dbc.sql
index 50604d0c0c..c863b9fd1a 100644
--- a/data/sql/base/db_world/gtoctclasscombatratingscalar_dbc.sql
+++ b/data/sql/base/db_world/gtoctclasscombatratingscalar_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtoctclasscombatratingscalar_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtoctclasscombatratingscalar_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtoctclasscombatratingscalar_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtoctregenhp_dbc.sql b/data/sql/base/db_world/gtoctregenhp_dbc.sql
index 66b8b9a2c0..c6c5827c45 100644
--- a/data/sql/base/db_world/gtoctregenhp_dbc.sql
+++ b/data/sql/base/db_world/gtoctregenhp_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtoctregenhp_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtoctregenhp_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtoctregenhp_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtregenhpperspt_dbc.sql b/data/sql/base/db_world/gtregenhpperspt_dbc.sql
index fe2bcf4371..d724f09055 100644
--- a/data/sql/base/db_world/gtregenhpperspt_dbc.sql
+++ b/data/sql/base/db_world/gtregenhpperspt_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtregenhpperspt_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtregenhpperspt_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtregenhpperspt_dbc` WRITE;
diff --git a/data/sql/base/db_world/gtregenmpperspt_dbc.sql b/data/sql/base/db_world/gtregenmpperspt_dbc.sql
index 4c4d036e2a..d8a6f5e6bd 100644
--- a/data/sql/base/db_world/gtregenmpperspt_dbc.sql
+++ b/data/sql/base/db_world/gtregenmpperspt_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gtregenmpperspt_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gtregenmpperspt_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gtregenmpperspt_dbc` WRITE;
diff --git a/data/sql/base/db_world/holiday_dates.sql b/data/sql/base/db_world/holiday_dates.sql
index 0cbc3181d3..eeae9d4b89 100644
--- a/data/sql/base/db_world/holiday_dates.sql
+++ b/data/sql/base/db_world/holiday_dates.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `holiday_dates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `holiday_dates`
(
- `id` int(10) unsigned NOT NULL,
- `date_id` tinyint(3) unsigned NOT NULL,
- `date_value` int(10) unsigned NOT NULL,
- `holiday_duration` int(10) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL,
+ `date_id` TINYINT unsigned NOT NULL,
+ `date_value` INT unsigned NOT NULL,
+ `holiday_duration` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`date_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
diff --git a/data/sql/base/db_world/holidays_dbc.sql b/data/sql/base/db_world/holidays_dbc.sql
index eede8cb174..b1c603e8a3 100644
--- a/data/sql/base/db_world/holidays_dbc.sql
+++ b/data/sql/base/db_world/holidays_dbc.sql
@@ -6,66 +6,66 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `holidays_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `holidays_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Duration_1` int(11) NOT NULL DEFAULT 0,
- `Duration_2` int(11) NOT NULL DEFAULT 0,
- `Duration_3` int(11) NOT NULL DEFAULT 0,
- `Duration_4` int(11) NOT NULL DEFAULT 0,
- `Duration_5` int(11) NOT NULL DEFAULT 0,
- `Duration_6` int(11) NOT NULL DEFAULT 0,
- `Duration_7` int(11) NOT NULL DEFAULT 0,
- `Duration_8` int(11) NOT NULL DEFAULT 0,
- `Duration_9` int(11) NOT NULL DEFAULT 0,
- `Duration_10` int(11) NOT NULL DEFAULT 0,
- `Date_1` int(11) NOT NULL DEFAULT 0,
- `Date_2` int(11) NOT NULL DEFAULT 0,
- `Date_3` int(11) NOT NULL DEFAULT 0,
- `Date_4` int(11) NOT NULL DEFAULT 0,
- `Date_5` int(11) NOT NULL DEFAULT 0,
- `Date_6` int(11) NOT NULL DEFAULT 0,
- `Date_7` int(11) NOT NULL DEFAULT 0,
- `Date_8` int(11) NOT NULL DEFAULT 0,
- `Date_9` int(11) NOT NULL DEFAULT 0,
- `Date_10` int(11) NOT NULL DEFAULT 0,
- `Date_11` int(11) NOT NULL DEFAULT 0,
- `Date_12` int(11) NOT NULL DEFAULT 0,
- `Date_13` int(11) NOT NULL DEFAULT 0,
- `Date_14` int(11) NOT NULL DEFAULT 0,
- `Date_15` int(11) NOT NULL DEFAULT 0,
- `Date_16` int(11) NOT NULL DEFAULT 0,
- `Date_17` int(11) NOT NULL DEFAULT 0,
- `Date_18` int(11) NOT NULL DEFAULT 0,
- `Date_19` int(11) NOT NULL DEFAULT 0,
- `Date_20` int(11) NOT NULL DEFAULT 0,
- `Date_21` int(11) NOT NULL DEFAULT 0,
- `Date_22` int(11) NOT NULL DEFAULT 0,
- `Date_23` int(11) NOT NULL DEFAULT 0,
- `Date_24` int(11) NOT NULL DEFAULT 0,
- `Date_25` int(11) NOT NULL DEFAULT 0,
- `Date_26` int(11) NOT NULL DEFAULT 0,
- `Region` int(11) NOT NULL DEFAULT 0,
- `Looping` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_1` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_2` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_3` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_4` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_5` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_6` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_7` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_8` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_9` int(11) NOT NULL DEFAULT 0,
- `CalendarFlags_10` int(11) NOT NULL DEFAULT 0,
- `HolidayNameID` int(11) NOT NULL DEFAULT 0,
- `HolidayDescriptionID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Duration_1` INT NOT NULL DEFAULT 0,
+ `Duration_2` INT NOT NULL DEFAULT 0,
+ `Duration_3` INT NOT NULL DEFAULT 0,
+ `Duration_4` INT NOT NULL DEFAULT 0,
+ `Duration_5` INT NOT NULL DEFAULT 0,
+ `Duration_6` INT NOT NULL DEFAULT 0,
+ `Duration_7` INT NOT NULL DEFAULT 0,
+ `Duration_8` INT NOT NULL DEFAULT 0,
+ `Duration_9` INT NOT NULL DEFAULT 0,
+ `Duration_10` INT NOT NULL DEFAULT 0,
+ `Date_1` INT NOT NULL DEFAULT 0,
+ `Date_2` INT NOT NULL DEFAULT 0,
+ `Date_3` INT NOT NULL DEFAULT 0,
+ `Date_4` INT NOT NULL DEFAULT 0,
+ `Date_5` INT NOT NULL DEFAULT 0,
+ `Date_6` INT NOT NULL DEFAULT 0,
+ `Date_7` INT NOT NULL DEFAULT 0,
+ `Date_8` INT NOT NULL DEFAULT 0,
+ `Date_9` INT NOT NULL DEFAULT 0,
+ `Date_10` INT NOT NULL DEFAULT 0,
+ `Date_11` INT NOT NULL DEFAULT 0,
+ `Date_12` INT NOT NULL DEFAULT 0,
+ `Date_13` INT NOT NULL DEFAULT 0,
+ `Date_14` INT NOT NULL DEFAULT 0,
+ `Date_15` INT NOT NULL DEFAULT 0,
+ `Date_16` INT NOT NULL DEFAULT 0,
+ `Date_17` INT NOT NULL DEFAULT 0,
+ `Date_18` INT NOT NULL DEFAULT 0,
+ `Date_19` INT NOT NULL DEFAULT 0,
+ `Date_20` INT NOT NULL DEFAULT 0,
+ `Date_21` INT NOT NULL DEFAULT 0,
+ `Date_22` INT NOT NULL DEFAULT 0,
+ `Date_23` INT NOT NULL DEFAULT 0,
+ `Date_24` INT NOT NULL DEFAULT 0,
+ `Date_25` INT NOT NULL DEFAULT 0,
+ `Date_26` INT NOT NULL DEFAULT 0,
+ `Region` INT NOT NULL DEFAULT 0,
+ `Looping` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_1` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_2` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_3` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_4` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_5` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_6` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_7` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_8` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_9` INT NOT NULL DEFAULT 0,
+ `CalendarFlags_10` INT NOT NULL DEFAULT 0,
+ `HolidayNameID` INT NOT NULL DEFAULT 0,
+ `HolidayDescriptionID` INT NOT NULL DEFAULT 0,
`TextureFilename` varchar(100) DEFAULT NULL,
- `Priority` int(11) NOT NULL DEFAULT 0,
- `CalendarFilterType` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `Priority` INT NOT NULL DEFAULT 0,
+ `CalendarFilterType` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `holidays_dbc` WRITE;
diff --git a/data/sql/base/db_world/instance_encounters.sql b/data/sql/base/db_world/instance_encounters.sql
index 9ea16f3d29..1cbb609f95 100644
--- a/data/sql/base/db_world/instance_encounters.sql
+++ b/data/sql/base/db_world/instance_encounters.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `instance_encounters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `instance_encounters`
(
- `entry` int(10) unsigned NOT NULL COMMENT 'Unique entry from DungeonEncounter.dbc',
- `creditType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `creditEntry` int(10) unsigned NOT NULL DEFAULT 0,
- `lastEncounterDungeon` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'If not 0, LfgDungeon.dbc entry for the instance it is last encounter in',
+ `entry` INT unsigned NOT NULL COMMENT 'Unique entry from DungeonEncounter.dbc',
+ `creditType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `creditEntry` INT unsigned NOT NULL DEFAULT 0,
+ `lastEncounterDungeon` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'If not 0, LfgDungeon.dbc entry for the instance it is last encounter in',
`comment` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `instance_encounters` WRITE;
diff --git a/data/sql/base/db_world/instance_template.sql b/data/sql/base/db_world/instance_template.sql
index 238bd4321a..85e0211dd3 100644
--- a/data/sql/base/db_world/instance_template.sql
+++ b/data/sql/base/db_world/instance_template.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `instance_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `instance_template`
(
- `map` smallint(5) unsigned NOT NULL,
- `parent` smallint(5) unsigned NOT NULL,
+ `map` SMALLINT unsigned NOT NULL,
+ `parent` SMALLINT unsigned NOT NULL,
`script` varchar(128) NOT NULL DEFAULT '',
- `allowMount` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `allowMount` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`map`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `instance_template` WRITE;
diff --git a/data/sql/base/db_world/item_enchantment_template.sql b/data/sql/base/db_world/item_enchantment_template.sql
index 875b85ab82..7b331d8b93 100644
--- a/data/sql/base/db_world/item_enchantment_template.sql
+++ b/data/sql/base/db_world/item_enchantment_template.sql
@@ -6,14 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_enchantment_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_enchantment_template`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ench` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `chance` float unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ench` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `chance` FLOAT NOT NULL DEFAULT 0,
+ CHECK (`chance`>=0),
PRIMARY KEY (`entry`,`ench`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_enchantment_template` WRITE;
diff --git a/data/sql/base/db_world/item_loot_template.sql b/data/sql/base/db_world/item_loot_template.sql
index be04b41470..b161b29eca 100644
--- a/data/sql/base/db_world/item_loot_template.sql
+++ b/data/sql/base/db_world/item_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_loot_template` WRITE;
diff --git a/data/sql/base/db_world/item_set_names.sql b/data/sql/base/db_world/item_set_names.sql
index c455aa2f90..bb459cddbd 100644
--- a/data/sql/base/db_world/item_set_names.sql
+++ b/data/sql/base/db_world/item_set_names.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_set_names`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_set_names`
(
- `entry` mediumint(8) unsigned NOT NULL,
+ `entry` MEDIUMINT unsigned NOT NULL,
`name` varchar(255) NOT NULL DEFAULT '',
- `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `InventoryType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_set_names` WRITE;
diff --git a/data/sql/base/db_world/item_set_names_locale.sql b/data/sql/base/db_world/item_set_names_locale.sql
index 9dffe03b7a..a1699d74d1 100644
--- a/data/sql/base/db_world/item_set_names_locale.sql
+++ b/data/sql/base/db_world/item_set_names_locale.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_set_names_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_set_names_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`Name` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`locale`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_set_names_locale` WRITE;
diff --git a/data/sql/base/db_world/item_template.sql b/data/sql/base/db_world/item_template.sql
index 0c2c3e72ac..dc8fd625b7 100644
--- a/data/sql/base/db_world/item_template.sql
+++ b/data/sql/base/db_world/item_template.sql
@@ -6,152 +6,152 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_template`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `subclass` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `SoundOverrideSubclass` tinyint(3) NOT NULL DEFAULT -1,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `subclass` TINYINT unsigned NOT NULL DEFAULT 0,
+ `SoundOverrideSubclass` TINYINT NOT NULL DEFAULT -1,
`name` varchar(255) NOT NULL DEFAULT '',
- `displayid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Quality` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Flags` int(10) unsigned NOT NULL DEFAULT 0,
- `FlagsExtra` int(10) unsigned NOT NULL DEFAULT 0,
- `BuyCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `BuyPrice` bigint(20) NOT NULL DEFAULT 0,
- `SellPrice` int(10) unsigned NOT NULL DEFAULT 0,
- `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `AllowableClass` int(11) NOT NULL DEFAULT -1,
- `AllowableRace` int(11) NOT NULL DEFAULT -1,
- `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT 0,
- `requiredspell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `requiredhonorrank` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredCityRank` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredReputationRank` smallint(5) unsigned NOT NULL DEFAULT 0,
- `maxcount` int(11) NOT NULL DEFAULT 0,
- `stackable` int(11) DEFAULT 1,
- `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `StatsCount` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_type1` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value1` smallint(6) NOT NULL DEFAULT 0,
- `stat_type2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value2` smallint(6) NOT NULL DEFAULT 0,
- `stat_type3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value3` smallint(6) NOT NULL DEFAULT 0,
- `stat_type4` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value4` smallint(6) NOT NULL DEFAULT 0,
- `stat_type5` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value5` smallint(6) NOT NULL DEFAULT 0,
- `stat_type6` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value6` smallint(6) NOT NULL DEFAULT 0,
- `stat_type7` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value7` smallint(6) NOT NULL DEFAULT 0,
- `stat_type8` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value8` smallint(6) NOT NULL DEFAULT 0,
- `stat_type9` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value9` smallint(6) NOT NULL DEFAULT 0,
- `stat_type10` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `stat_value10` smallint(6) NOT NULL DEFAULT 0,
- `ScalingStatDistribution` smallint(6) NOT NULL DEFAULT 0,
- `ScalingStatValue` int(10) unsigned NOT NULL DEFAULT 0,
+ `displayid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Quality` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Flags` INT unsigned NOT NULL DEFAULT 0,
+ `FlagsExtra` INT unsigned NOT NULL DEFAULT 0,
+ `BuyCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `BuyPrice` BIGINT NOT NULL DEFAULT 0,
+ `SellPrice` INT unsigned NOT NULL DEFAULT 0,
+ `InventoryType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `AllowableClass` INT NOT NULL DEFAULT -1,
+ `AllowableRace` INT NOT NULL DEFAULT -1,
+ `ItemLevel` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredLevel` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RequiredSkill` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredSkillRank` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `requiredspell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `requiredhonorrank` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredCityRank` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredReputationFaction` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredReputationRank` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `maxcount` INT NOT NULL DEFAULT 0,
+ `stackable` INT DEFAULT 1,
+ `ContainerSlots` TINYINT unsigned NOT NULL DEFAULT 0,
+ `StatsCount` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_type1` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value1` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value2` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value3` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type4` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value4` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type5` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value5` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type6` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value6` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type7` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value7` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type8` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value8` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type9` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value9` SMALLINT NOT NULL DEFAULT 0,
+ `stat_type10` TINYINT unsigned NOT NULL DEFAULT 0,
+ `stat_value10` SMALLINT NOT NULL DEFAULT 0,
+ `ScalingStatDistribution` SMALLINT NOT NULL DEFAULT 0,
+ `ScalingStatValue` INT unsigned NOT NULL DEFAULT 0,
`dmg_min1` float NOT NULL DEFAULT 0,
`dmg_max1` float NOT NULL DEFAULT 0,
- `dmg_type1` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `dmg_type1` TINYINT unsigned NOT NULL DEFAULT 0,
`dmg_min2` float NOT NULL DEFAULT 0,
`dmg_max2` float NOT NULL DEFAULT 0,
- `dmg_type2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `armor` smallint(5) unsigned NOT NULL DEFAULT 0,
- `holy_res` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `fire_res` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `nature_res` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `frost_res` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `shadow_res` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `arcane_res` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `delay` smallint(5) unsigned NOT NULL DEFAULT 1000,
- `ammo_type` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `dmg_type2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `armor` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `holy_res` TINYINT unsigned NOT NULL DEFAULT 0,
+ `fire_res` TINYINT unsigned NOT NULL DEFAULT 0,
+ `nature_res` TINYINT unsigned NOT NULL DEFAULT 0,
+ `frost_res` TINYINT unsigned NOT NULL DEFAULT 0,
+ `shadow_res` TINYINT unsigned NOT NULL DEFAULT 0,
+ `arcane_res` TINYINT unsigned NOT NULL DEFAULT 0,
+ `delay` SMALLINT unsigned NOT NULL DEFAULT 1000,
+ `ammo_type` TINYINT unsigned NOT NULL DEFAULT 0,
`RangedModRange` float NOT NULL DEFAULT 0,
- `spellid_1` mediumint(8) NOT NULL DEFAULT 0,
- `spelltrigger_1` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `spellcharges_1` smallint(6) NOT NULL DEFAULT 0,
+ `spellid_1` MEDIUMINT NOT NULL DEFAULT 0,
+ `spelltrigger_1` TINYINT unsigned NOT NULL DEFAULT 0,
+ `spellcharges_1` SMALLINT NOT NULL DEFAULT 0,
`spellppmRate_1` float NOT NULL DEFAULT 0,
- `spellcooldown_1` int(11) NOT NULL DEFAULT -1,
- `spellcategory_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `spellcategorycooldown_1` int(11) NOT NULL DEFAULT -1,
- `spellid_2` mediumint(8) NOT NULL DEFAULT 0,
- `spelltrigger_2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `spellcharges_2` smallint(6) NOT NULL DEFAULT 0,
+ `spellcooldown_1` INT NOT NULL DEFAULT -1,
+ `spellcategory_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `spellcategorycooldown_1` INT NOT NULL DEFAULT -1,
+ `spellid_2` MEDIUMINT NOT NULL DEFAULT 0,
+ `spelltrigger_2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `spellcharges_2` SMALLINT NOT NULL DEFAULT 0,
`spellppmRate_2` float NOT NULL DEFAULT 0,
- `spellcooldown_2` int(11) NOT NULL DEFAULT -1,
- `spellcategory_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `spellcategorycooldown_2` int(11) NOT NULL DEFAULT -1,
- `spellid_3` mediumint(8) NOT NULL DEFAULT 0,
- `spelltrigger_3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `spellcharges_3` smallint(6) NOT NULL DEFAULT 0,
+ `spellcooldown_2` INT NOT NULL DEFAULT -1,
+ `spellcategory_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `spellcategorycooldown_2` INT NOT NULL DEFAULT -1,
+ `spellid_3` MEDIUMINT NOT NULL DEFAULT 0,
+ `spelltrigger_3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `spellcharges_3` SMALLINT NOT NULL DEFAULT 0,
`spellppmRate_3` float NOT NULL DEFAULT 0,
- `spellcooldown_3` int(11) NOT NULL DEFAULT -1,
- `spellcategory_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `spellcategorycooldown_3` int(11) NOT NULL DEFAULT -1,
- `spellid_4` mediumint(8) NOT NULL DEFAULT 0,
- `spelltrigger_4` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `spellcharges_4` smallint(6) NOT NULL DEFAULT 0,
+ `spellcooldown_3` INT NOT NULL DEFAULT -1,
+ `spellcategory_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `spellcategorycooldown_3` INT NOT NULL DEFAULT -1,
+ `spellid_4` MEDIUMINT NOT NULL DEFAULT 0,
+ `spelltrigger_4` TINYINT unsigned NOT NULL DEFAULT 0,
+ `spellcharges_4` SMALLINT NOT NULL DEFAULT 0,
`spellppmRate_4` float NOT NULL DEFAULT 0,
- `spellcooldown_4` int(11) NOT NULL DEFAULT -1,
- `spellcategory_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `spellcategorycooldown_4` int(11) NOT NULL DEFAULT -1,
- `spellid_5` mediumint(8) NOT NULL DEFAULT 0,
- `spelltrigger_5` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `spellcharges_5` smallint(6) NOT NULL DEFAULT 0,
+ `spellcooldown_4` INT NOT NULL DEFAULT -1,
+ `spellcategory_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `spellcategorycooldown_4` INT NOT NULL DEFAULT -1,
+ `spellid_5` MEDIUMINT NOT NULL DEFAULT 0,
+ `spelltrigger_5` TINYINT unsigned NOT NULL DEFAULT 0,
+ `spellcharges_5` SMALLINT NOT NULL DEFAULT 0,
`spellppmRate_5` float NOT NULL DEFAULT 0,
- `spellcooldown_5` int(11) NOT NULL DEFAULT -1,
- `spellcategory_5` smallint(5) unsigned NOT NULL DEFAULT 0,
- `spellcategorycooldown_5` int(11) NOT NULL DEFAULT -1,
- `bonding` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `spellcooldown_5` INT NOT NULL DEFAULT -1,
+ `spellcategory_5` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `spellcategorycooldown_5` INT NOT NULL DEFAULT -1,
+ `bonding` TINYINT unsigned NOT NULL DEFAULT 0,
`description` varchar(255) NOT NULL DEFAULT '',
- `PageText` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `PageMaterial` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `startquest` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `lockid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Material` tinyint(4) NOT NULL DEFAULT 0,
- `sheath` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RandomProperty` mediumint(8) NOT NULL DEFAULT 0,
- `RandomSuffix` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `block` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `itemset` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `MaxDurability` smallint(5) unsigned NOT NULL DEFAULT 0,
- `area` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Map` smallint(6) NOT NULL DEFAULT 0,
- `BagFamily` mediumint(8) NOT NULL DEFAULT 0,
- `TotemCategory` mediumint(8) NOT NULL DEFAULT 0,
- `socketColor_1` tinyint(4) NOT NULL DEFAULT 0,
- `socketContent_1` mediumint(8) NOT NULL DEFAULT 0,
- `socketColor_2` tinyint(4) NOT NULL DEFAULT 0,
- `socketContent_2` mediumint(8) NOT NULL DEFAULT 0,
- `socketColor_3` tinyint(4) NOT NULL DEFAULT 0,
- `socketContent_3` mediumint(8) NOT NULL DEFAULT 0,
- `socketBonus` mediumint(8) NOT NULL DEFAULT 0,
- `GemProperties` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredDisenchantSkill` smallint(6) NOT NULL DEFAULT -1,
+ `PageText` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `LanguageID` TINYINT unsigned NOT NULL DEFAULT 0,
+ `PageMaterial` TINYINT unsigned NOT NULL DEFAULT 0,
+ `startquest` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `lockid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Material` TINYINT NOT NULL DEFAULT 0,
+ `sheath` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RandomProperty` MEDIUMINT NOT NULL DEFAULT 0,
+ `RandomSuffix` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `block` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `itemset` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `MaxDurability` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `area` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Map` SMALLINT NOT NULL DEFAULT 0,
+ `BagFamily` MEDIUMINT NOT NULL DEFAULT 0,
+ `TotemCategory` MEDIUMINT NOT NULL DEFAULT 0,
+ `socketColor_1` TINYINT NOT NULL DEFAULT 0,
+ `socketContent_1` MEDIUMINT NOT NULL DEFAULT 0,
+ `socketColor_2` TINYINT NOT NULL DEFAULT 0,
+ `socketContent_2` MEDIUMINT NOT NULL DEFAULT 0,
+ `socketColor_3` TINYINT NOT NULL DEFAULT 0,
+ `socketContent_3` MEDIUMINT NOT NULL DEFAULT 0,
+ `socketBonus` MEDIUMINT NOT NULL DEFAULT 0,
+ `GemProperties` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredDisenchantSkill` SMALLINT NOT NULL DEFAULT -1,
`ArmorDamageModifier` float NOT NULL DEFAULT 0,
- `duration` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemLimitCategory` smallint(6) NOT NULL DEFAULT 0,
- `HolidayId` int(11) unsigned NOT NULL DEFAULT 0,
+ `duration` INT unsigned NOT NULL DEFAULT 0,
+ `ItemLimitCategory` SMALLINT NOT NULL DEFAULT 0,
+ `HolidayId` INT unsigned NOT NULL DEFAULT 0,
`ScriptName` varchar(64) NOT NULL DEFAULT '',
- `DisenchantID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `FoodType` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `minMoneyLoot` int(10) unsigned NOT NULL DEFAULT 0,
- `maxMoneyLoot` int(10) unsigned NOT NULL DEFAULT 0,
- `flagsCustom` int(10) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `DisenchantID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `FoodType` TINYINT unsigned NOT NULL DEFAULT 0,
+ `minMoneyLoot` INT unsigned NOT NULL DEFAULT 0,
+ `maxMoneyLoot` INT unsigned NOT NULL DEFAULT 0,
+ `flagsCustom` INT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`),
KEY `idx_name` (`name`),
KEY `items_index` (`class`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Item System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_template` WRITE;
diff --git a/data/sql/base/db_world/item_template_locale.sql b/data/sql/base/db_world/item_template_locale.sql
index d32c853113..cf63fd0926 100644
--- a/data/sql/base/db_world/item_template_locale.sql
+++ b/data/sql/base/db_world/item_template_locale.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_template_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_template_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`Name` text DEFAULT NULL,
`Description` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_template_locale` WRITE;
diff --git a/data/sql/base/db_world/itembagfamily_dbc.sql b/data/sql/base/db_world/itembagfamily_dbc.sql
index 63582be483..68a9d5271c 100644
--- a/data/sql/base/db_world/itembagfamily_dbc.sql
+++ b/data/sql/base/db_world/itembagfamily_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itembagfamily_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itembagfamily_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,9 +26,9 @@ CREATE TABLE `itembagfamily_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itembagfamily_dbc` WRITE;
diff --git a/data/sql/base/db_world/itemdisplayinfo_dbc.sql b/data/sql/base/db_world/itemdisplayinfo_dbc.sql
index 673ae8bda0..14194c03a1 100644
--- a/data/sql/base/db_world/itemdisplayinfo_dbc.sql
+++ b/data/sql/base/db_world/itemdisplayinfo_dbc.sql
@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itemdisplayinfo_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itemdisplayinfo_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`ModelName_1` varchar(100) DEFAULT NULL,
`ModelName_2` varchar(100) DEFAULT NULL,
`ModelTexture_1` varchar(100) DEFAULT NULL,
`ModelTexture_2` varchar(100) DEFAULT NULL,
`InventoryIcon_1` varchar(100) DEFAULT NULL,
`InventoryIcon_2` varchar(100) DEFAULT NULL,
- `GeosetGroup_1` int(11) NOT NULL DEFAULT 0,
- `GeosetGroup_2` int(11) NOT NULL DEFAULT 0,
- `GeosetGroup_3` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `SpellVisualID` int(11) NOT NULL DEFAULT 0,
- `GroupSoundIndex` int(11) NOT NULL DEFAULT 0,
- `HelmetGeosetVis_1` int(11) NOT NULL DEFAULT 0,
- `HelmetGeosetVis_2` int(11) NOT NULL DEFAULT 0,
+ `GeosetGroup_1` INT NOT NULL DEFAULT 0,
+ `GeosetGroup_2` INT NOT NULL DEFAULT 0,
+ `GeosetGroup_3` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `SpellVisualID` INT NOT NULL DEFAULT 0,
+ `GroupSoundIndex` INT NOT NULL DEFAULT 0,
+ `HelmetGeosetVis_1` INT NOT NULL DEFAULT 0,
+ `HelmetGeosetVis_2` INT NOT NULL DEFAULT 0,
`Texture_1` varchar(100) DEFAULT NULL,
`Texture_2` varchar(100) DEFAULT NULL,
`Texture_3` varchar(100) DEFAULT NULL,
@@ -32,10 +32,10 @@ CREATE TABLE `itemdisplayinfo_dbc`
`Texture_6` varchar(100) DEFAULT NULL,
`Texture_7` varchar(100) DEFAULT NULL,
`Texture_8` varchar(100) DEFAULT NULL,
- `ItemVisual` int(11) NOT NULL DEFAULT 0,
- `ParticleColorID` int(11) NOT NULL DEFAULT 0,
+ `ItemVisual` INT NOT NULL DEFAULT 0,
+ `ParticleColorID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itemdisplayinfo_dbc` WRITE;
diff --git a/data/sql/base/db_world/itemextendedcost_dbc.sql b/data/sql/base/db_world/itemextendedcost_dbc.sql
index 46f64864d6..5622f14e7c 100644
--- a/data/sql/base/db_world/itemextendedcost_dbc.sql
+++ b/data/sql/base/db_world/itemextendedcost_dbc.sql
@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itemextendedcost_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itemextendedcost_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `HonorPoints` int(11) NOT NULL DEFAULT 0,
- `ArenaPoints` int(11) NOT NULL DEFAULT 0,
- `ArenaBracket` int(11) NOT NULL DEFAULT 0,
- `ItemID_1` int(11) NOT NULL DEFAULT 0,
- `ItemID_2` int(11) NOT NULL DEFAULT 0,
- `ItemID_3` int(11) NOT NULL DEFAULT 0,
- `ItemID_4` int(11) NOT NULL DEFAULT 0,
- `ItemID_5` int(11) NOT NULL DEFAULT 0,
- `ItemCount_1` int(11) NOT NULL DEFAULT 0,
- `ItemCount_2` int(11) NOT NULL DEFAULT 0,
- `ItemCount_3` int(11) NOT NULL DEFAULT 0,
- `ItemCount_4` int(11) NOT NULL DEFAULT 0,
- `ItemCount_5` int(11) NOT NULL DEFAULT 0,
- `RequiredArenaRating` int(11) NOT NULL DEFAULT 0,
- `ItemPurchaseGroup` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `HonorPoints` INT NOT NULL DEFAULT 0,
+ `ArenaPoints` INT NOT NULL DEFAULT 0,
+ `ArenaBracket` INT NOT NULL DEFAULT 0,
+ `ItemID_1` INT NOT NULL DEFAULT 0,
+ `ItemID_2` INT NOT NULL DEFAULT 0,
+ `ItemID_3` INT NOT NULL DEFAULT 0,
+ `ItemID_4` INT NOT NULL DEFAULT 0,
+ `ItemID_5` INT NOT NULL DEFAULT 0,
+ `ItemCount_1` INT NOT NULL DEFAULT 0,
+ `ItemCount_2` INT NOT NULL DEFAULT 0,
+ `ItemCount_3` INT NOT NULL DEFAULT 0,
+ `ItemCount_4` INT NOT NULL DEFAULT 0,
+ `ItemCount_5` INT NOT NULL DEFAULT 0,
+ `RequiredArenaRating` INT NOT NULL DEFAULT 0,
+ `ItemPurchaseGroup` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itemextendedcost_dbc` WRITE;
diff --git a/data/sql/base/db_world/itemlimitcategory_dbc.sql b/data/sql/base/db_world/itemlimitcategory_dbc.sql
index 942188cc73..6dd86f6722 100644
--- a/data/sql/base/db_world/itemlimitcategory_dbc.sql
+++ b/data/sql/base/db_world/itemlimitcategory_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itemlimitcategory_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itemlimitcategory_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,11 +26,11 @@ CREATE TABLE `itemlimitcategory_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Quantity` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Quantity` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itemlimitcategory_dbc` WRITE;
diff --git a/data/sql/base/db_world/itemrandomproperties_dbc.sql b/data/sql/base/db_world/itemrandomproperties_dbc.sql
index 18ba06c2d4..714d74d2a6 100644
--- a/data/sql/base/db_world/itemrandomproperties_dbc.sql
+++ b/data/sql/base/db_world/itemrandomproperties_dbc.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itemrandomproperties_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itemrandomproperties_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name` varchar(100) DEFAULT NULL,
- `Enchantment_1` int(11) NOT NULL DEFAULT 0,
- `Enchantment_2` int(11) NOT NULL DEFAULT 0,
- `Enchantment_3` int(11) NOT NULL DEFAULT 0,
- `Enchantment_4` int(11) NOT NULL DEFAULT 0,
- `Enchantment_5` int(11) NOT NULL DEFAULT 0,
+ `Enchantment_1` INT NOT NULL DEFAULT 0,
+ `Enchantment_2` INT NOT NULL DEFAULT 0,
+ `Enchantment_3` INT NOT NULL DEFAULT 0,
+ `Enchantment_4` INT NOT NULL DEFAULT 0,
+ `Enchantment_5` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -32,9 +32,9 @@ CREATE TABLE `itemrandomproperties_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itemrandomproperties_dbc` WRITE;
diff --git a/data/sql/base/db_world/itemrandomsuffix_dbc.sql b/data/sql/base/db_world/itemrandomsuffix_dbc.sql
index f0e462bcd4..2d31efb42d 100644
--- a/data/sql/base/db_world/itemrandomsuffix_dbc.sql
+++ b/data/sql/base/db_world/itemrandomsuffix_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itemrandomsuffix_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itemrandomsuffix_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,20 +26,20 @@ CREATE TABLE `itemrandomsuffix_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`InternalName` varchar(100) DEFAULT NULL,
- `Enchantment_1` int(11) NOT NULL DEFAULT 0,
- `Enchantment_2` int(11) NOT NULL DEFAULT 0,
- `Enchantment_3` int(11) NOT NULL DEFAULT 0,
- `Enchantment_4` int(11) NOT NULL DEFAULT 0,
- `Enchantment_5` int(11) NOT NULL DEFAULT 0,
- `AllocationPct_1` int(11) NOT NULL DEFAULT 0,
- `AllocationPct_2` int(11) NOT NULL DEFAULT 0,
- `AllocationPct_3` int(11) NOT NULL DEFAULT 0,
- `AllocationPct_4` int(11) NOT NULL DEFAULT 0,
- `AllocationPct_5` int(11) NOT NULL DEFAULT 0,
+ `Enchantment_1` INT NOT NULL DEFAULT 0,
+ `Enchantment_2` INT NOT NULL DEFAULT 0,
+ `Enchantment_3` INT NOT NULL DEFAULT 0,
+ `Enchantment_4` INT NOT NULL DEFAULT 0,
+ `Enchantment_5` INT NOT NULL DEFAULT 0,
+ `AllocationPct_1` INT NOT NULL DEFAULT 0,
+ `AllocationPct_2` INT NOT NULL DEFAULT 0,
+ `AllocationPct_3` INT NOT NULL DEFAULT 0,
+ `AllocationPct_4` INT NOT NULL DEFAULT 0,
+ `AllocationPct_5` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itemrandomsuffix_dbc` WRITE;
diff --git a/data/sql/base/db_world/itemset_dbc.sql b/data/sql/base/db_world/itemset_dbc.sql
index 73ee6a1853..b6cb5c6426 100644
--- a/data/sql/base/db_world/itemset_dbc.sql
+++ b/data/sql/base/db_world/itemset_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `itemset_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `itemset_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,44 +26,44 @@ CREATE TABLE `itemset_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemID_1` int(11) NOT NULL DEFAULT 0,
- `ItemID_2` int(11) NOT NULL DEFAULT 0,
- `ItemID_3` int(11) NOT NULL DEFAULT 0,
- `ItemID_4` int(11) NOT NULL DEFAULT 0,
- `ItemID_5` int(11) NOT NULL DEFAULT 0,
- `ItemID_6` int(11) NOT NULL DEFAULT 0,
- `ItemID_7` int(11) NOT NULL DEFAULT 0,
- `ItemID_8` int(11) NOT NULL DEFAULT 0,
- `ItemID_9` int(11) NOT NULL DEFAULT 0,
- `ItemID_10` int(11) NOT NULL DEFAULT 0,
- `ItemID_11` int(11) NOT NULL DEFAULT 0,
- `ItemID_12` int(11) NOT NULL DEFAULT 0,
- `ItemID_13` int(11) NOT NULL DEFAULT 0,
- `ItemID_14` int(11) NOT NULL DEFAULT 0,
- `ItemID_15` int(11) NOT NULL DEFAULT 0,
- `ItemID_16` int(11) NOT NULL DEFAULT 0,
- `ItemID_17` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_1` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_2` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_3` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_4` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_5` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_6` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_7` int(11) NOT NULL DEFAULT 0,
- `SetSpellID_8` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_1` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_2` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_3` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_4` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_5` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_6` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_7` int(11) NOT NULL DEFAULT 0,
- `SetThreshold_8` int(11) NOT NULL DEFAULT 0,
- `RequiredSkill` int(11) NOT NULL DEFAULT 0,
- `RequiredSkillRank` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `ItemID_1` INT NOT NULL DEFAULT 0,
+ `ItemID_2` INT NOT NULL DEFAULT 0,
+ `ItemID_3` INT NOT NULL DEFAULT 0,
+ `ItemID_4` INT NOT NULL DEFAULT 0,
+ `ItemID_5` INT NOT NULL DEFAULT 0,
+ `ItemID_6` INT NOT NULL DEFAULT 0,
+ `ItemID_7` INT NOT NULL DEFAULT 0,
+ `ItemID_8` INT NOT NULL DEFAULT 0,
+ `ItemID_9` INT NOT NULL DEFAULT 0,
+ `ItemID_10` INT NOT NULL DEFAULT 0,
+ `ItemID_11` INT NOT NULL DEFAULT 0,
+ `ItemID_12` INT NOT NULL DEFAULT 0,
+ `ItemID_13` INT NOT NULL DEFAULT 0,
+ `ItemID_14` INT NOT NULL DEFAULT 0,
+ `ItemID_15` INT NOT NULL DEFAULT 0,
+ `ItemID_16` INT NOT NULL DEFAULT 0,
+ `ItemID_17` INT NOT NULL DEFAULT 0,
+ `SetSpellID_1` INT NOT NULL DEFAULT 0,
+ `SetSpellID_2` INT NOT NULL DEFAULT 0,
+ `SetSpellID_3` INT NOT NULL DEFAULT 0,
+ `SetSpellID_4` INT NOT NULL DEFAULT 0,
+ `SetSpellID_5` INT NOT NULL DEFAULT 0,
+ `SetSpellID_6` INT NOT NULL DEFAULT 0,
+ `SetSpellID_7` INT NOT NULL DEFAULT 0,
+ `SetSpellID_8` INT NOT NULL DEFAULT 0,
+ `SetThreshold_1` INT NOT NULL DEFAULT 0,
+ `SetThreshold_2` INT NOT NULL DEFAULT 0,
+ `SetThreshold_3` INT NOT NULL DEFAULT 0,
+ `SetThreshold_4` INT NOT NULL DEFAULT 0,
+ `SetThreshold_5` INT NOT NULL DEFAULT 0,
+ `SetThreshold_6` INT NOT NULL DEFAULT 0,
+ `SetThreshold_7` INT NOT NULL DEFAULT 0,
+ `SetThreshold_8` INT NOT NULL DEFAULT 0,
+ `RequiredSkill` INT NOT NULL DEFAULT 0,
+ `RequiredSkillRank` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `itemset_dbc` WRITE;
diff --git a/data/sql/base/db_world/lfg_dungeon_rewards.sql b/data/sql/base/db_world/lfg_dungeon_rewards.sql
index 2d2d1e3738..542045de5d 100644
--- a/data/sql/base/db_world/lfg_dungeon_rewards.sql
+++ b/data/sql/base/db_world/lfg_dungeon_rewards.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lfg_dungeon_rewards`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `lfg_dungeon_rewards`
(
- `dungeonId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Dungeon entry from dbc',
- `maxLevel` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Max level at which this reward is rewarded',
- `firstQuestId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest id with rewards for first dungeon this day',
- `otherQuestId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest id with rewards for Nth dungeon this day',
+ `dungeonId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Dungeon entry from dbc',
+ `maxLevel` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Max level at which this reward is rewarded',
+ `firstQuestId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest id with rewards for first dungeon this day',
+ `otherQuestId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest id with rewards for Nth dungeon this day',
PRIMARY KEY (`dungeonId`,`maxLevel`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lfg_dungeon_rewards` WRITE;
diff --git a/data/sql/base/db_world/lfg_dungeon_template.sql b/data/sql/base/db_world/lfg_dungeon_template.sql
index a1c38226db..e022fae751 100644
--- a/data/sql/base/db_world/lfg_dungeon_template.sql
+++ b/data/sql/base/db_world/lfg_dungeon_template.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lfg_dungeon_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `lfg_dungeon_template`
(
- `dungeonId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Unique id from LFGDungeons.dbc',
+ `dungeonId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Unique id from LFGDungeons.dbc',
`name` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`dungeonId`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lfg_dungeon_template` WRITE;
diff --git a/data/sql/base/db_world/lfgdungeons_dbc.sql b/data/sql/base/db_world/lfgdungeons_dbc.sql
index f97d5d2894..598c5dd4ce 100644
--- a/data/sql/base/db_world/lfgdungeons_dbc.sql
+++ b/data/sql/base/db_world/lfgdungeons_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lfgdungeons_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `lfgdungeons_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,21 +26,21 @@ CREATE TABLE `lfgdungeons_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `MinLevel` int(11) NOT NULL DEFAULT 0,
- `MaxLevel` int(11) NOT NULL DEFAULT 0,
- `Target_Level` int(11) NOT NULL DEFAULT 0,
- `Target_Level_Min` int(11) NOT NULL DEFAULT 0,
- `Target_Level_Max` int(11) NOT NULL DEFAULT 0,
- `MapID` int(11) NOT NULL DEFAULT 0,
- `Difficulty` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `TypeID` int(11) NOT NULL DEFAULT 0,
- `Faction` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `MinLevel` INT NOT NULL DEFAULT 0,
+ `MaxLevel` INT NOT NULL DEFAULT 0,
+ `Target_Level` INT NOT NULL DEFAULT 0,
+ `Target_Level_Min` INT NOT NULL DEFAULT 0,
+ `Target_Level_Max` INT NOT NULL DEFAULT 0,
+ `MapID` INT NOT NULL DEFAULT 0,
+ `Difficulty` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `TypeID` INT NOT NULL DEFAULT 0,
+ `Faction` INT NOT NULL DEFAULT 0,
`TextureFilename` varchar(100) DEFAULT NULL,
- `ExpansionLevel` int(11) NOT NULL DEFAULT 0,
- `Order_Index` int(11) NOT NULL DEFAULT 0,
- `Group_Id` int(11) NOT NULL DEFAULT 0,
+ `ExpansionLevel` INT NOT NULL DEFAULT 0,
+ `Order_Index` INT NOT NULL DEFAULT 0,
+ `Group_Id` INT NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(200) DEFAULT NULL,
`Description_Lang_enGB` varchar(200) DEFAULT NULL,
`Description_Lang_koKR` varchar(200) DEFAULT NULL,
@@ -57,9 +57,9 @@ CREATE TABLE `lfgdungeons_dbc`
`Description_Lang_ptBR` varchar(200) DEFAULT NULL,
`Description_Lang_itIT` varchar(200) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lfgdungeons_dbc` WRITE;
diff --git a/data/sql/base/db_world/light_dbc.sql b/data/sql/base/db_world/light_dbc.sql
index 8573f677c2..a8e7b1d282 100644
--- a/data/sql/base/db_world/light_dbc.sql
+++ b/data/sql/base/db_world/light_dbc.sql
@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `light_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `light_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ContinentID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ContinentID` INT NOT NULL DEFAULT 0,
`X` float NOT NULL DEFAULT 0,
`Y` float NOT NULL DEFAULT 0,
`Z` float NOT NULL DEFAULT 0,
`FalloffStart` float NOT NULL DEFAULT 0,
`FalloffEnd` float NOT NULL DEFAULT 0,
- `LightParamsID_1` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_2` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_3` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_4` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_5` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_6` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_7` int(11) NOT NULL DEFAULT 0,
- `LightParamsID_8` int(11) NOT NULL DEFAULT 0,
+ `LightParamsID_1` INT NOT NULL DEFAULT 0,
+ `LightParamsID_2` INT NOT NULL DEFAULT 0,
+ `LightParamsID_3` INT NOT NULL DEFAULT 0,
+ `LightParamsID_4` INT NOT NULL DEFAULT 0,
+ `LightParamsID_5` INT NOT NULL DEFAULT 0,
+ `LightParamsID_6` INT NOT NULL DEFAULT 0,
+ `LightParamsID_7` INT NOT NULL DEFAULT 0,
+ `LightParamsID_8` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `light_dbc` WRITE;
diff --git a/data/sql/base/db_world/linked_respawn.sql b/data/sql/base/db_world/linked_respawn.sql
index c57353c266..c750388c1d 100644
--- a/data/sql/base/db_world/linked_respawn.sql
+++ b/data/sql/base/db_world/linked_respawn.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `linked_respawn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `linked_respawn`
(
- `guid` int(10) unsigned NOT NULL COMMENT 'dependent creature',
- `linkedGuid` int(10) unsigned NOT NULL COMMENT 'master creature',
- `linkType` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL COMMENT 'dependent creature',
+ `linkedGuid` INT unsigned NOT NULL COMMENT 'master creature',
+ `linkType` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`linkType`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `linked_respawn` WRITE;
diff --git a/data/sql/base/db_world/liquidtype_dbc.sql b/data/sql/base/db_world/liquidtype_dbc.sql
index aa4f68a48c..34c7d43e56 100644
--- a/data/sql/base/db_world/liquidtype_dbc.sql
+++ b/data/sql/base/db_world/liquidtype_dbc.sql
@@ -6,32 +6,32 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `liquidtype_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `liquidtype_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name` varchar(100) DEFAULT NULL,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `Type` int(11) NOT NULL DEFAULT 0,
- `SoundID` int(11) NOT NULL DEFAULT 0,
- `SpellID` int(11) NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `Type` INT NOT NULL DEFAULT 0,
+ `SoundID` INT NOT NULL DEFAULT 0,
+ `SpellID` INT NOT NULL DEFAULT 0,
`MaxDarkenDepth` float NOT NULL DEFAULT 0,
`FogDarkenintensity` float NOT NULL DEFAULT 0,
`AmbDarkenintensity` float NOT NULL DEFAULT 0,
`DirDarkenintensity` float NOT NULL DEFAULT 0,
- `LightID` int(11) NOT NULL DEFAULT 0,
+ `LightID` INT NOT NULL DEFAULT 0,
`ParticleScale` float NOT NULL DEFAULT 0,
- `ParticleMovement` int(11) NOT NULL DEFAULT 0,
- `ParticleTexSlots` int(11) NOT NULL DEFAULT 0,
- `MaterialID` int(11) NOT NULL DEFAULT 0,
+ `ParticleMovement` INT NOT NULL DEFAULT 0,
+ `ParticleTexSlots` INT NOT NULL DEFAULT 0,
+ `MaterialID` INT NOT NULL DEFAULT 0,
`Texture_1` varchar(100) DEFAULT NULL,
`Texture_2` varchar(100) DEFAULT NULL,
`Texture_3` varchar(100) DEFAULT NULL,
`Texture_4` varchar(100) DEFAULT NULL,
`Texture_5` varchar(100) DEFAULT NULL,
`Texture_6` varchar(100) DEFAULT NULL,
- `Color_1` int(11) NOT NULL DEFAULT 0,
- `Color_2` int(11) NOT NULL DEFAULT 0,
+ `Color_1` INT NOT NULL DEFAULT 0,
+ `Color_2` INT NOT NULL DEFAULT 0,
`Float_1` float NOT NULL DEFAULT 0,
`Float_2` float NOT NULL DEFAULT 0,
`Float_3` float NOT NULL DEFAULT 0,
@@ -50,12 +50,12 @@ CREATE TABLE `liquidtype_dbc`
`Float_16` float NOT NULL DEFAULT 0,
`Float_17` float NOT NULL DEFAULT 0,
`Float_18` float NOT NULL DEFAULT 0,
- `Int_1` int(11) NOT NULL DEFAULT 0,
- `Int_2` int(11) NOT NULL DEFAULT 0,
- `Int_3` int(11) NOT NULL DEFAULT 0,
- `Int_4` int(11) NOT NULL DEFAULT 0,
+ `Int_1` INT NOT NULL DEFAULT 0,
+ `Int_2` INT NOT NULL DEFAULT 0,
+ `Int_3` INT NOT NULL DEFAULT 0,
+ `Int_4` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `liquidtype_dbc` WRITE;
diff --git a/data/sql/base/db_world/lock_dbc.sql b/data/sql/base/db_world/lock_dbc.sql
index 6747342c27..9a86b1839a 100644
--- a/data/sql/base/db_world/lock_dbc.sql
+++ b/data/sql/base/db_world/lock_dbc.sql
@@ -6,44 +6,44 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lock_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `lock_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Type_1` int(11) NOT NULL DEFAULT 0,
- `Type_2` int(11) NOT NULL DEFAULT 0,
- `Type_3` int(11) NOT NULL DEFAULT 0,
- `Type_4` int(11) NOT NULL DEFAULT 0,
- `Type_5` int(11) NOT NULL DEFAULT 0,
- `Type_6` int(11) NOT NULL DEFAULT 0,
- `Type_7` int(11) NOT NULL DEFAULT 0,
- `Type_8` int(11) NOT NULL DEFAULT 0,
- `Index_1` int(11) NOT NULL DEFAULT 0,
- `Index_2` int(11) NOT NULL DEFAULT 0,
- `Index_3` int(11) NOT NULL DEFAULT 0,
- `Index_4` int(11) NOT NULL DEFAULT 0,
- `Index_5` int(11) NOT NULL DEFAULT 0,
- `Index_6` int(11) NOT NULL DEFAULT 0,
- `Index_7` int(11) NOT NULL DEFAULT 0,
- `Index_8` int(11) NOT NULL DEFAULT 0,
- `Skill_1` int(11) NOT NULL DEFAULT 0,
- `Skill_2` int(11) NOT NULL DEFAULT 0,
- `Skill_3` int(11) NOT NULL DEFAULT 0,
- `Skill_4` int(11) NOT NULL DEFAULT 0,
- `Skill_5` int(11) NOT NULL DEFAULT 0,
- `Skill_6` int(11) NOT NULL DEFAULT 0,
- `Skill_7` int(11) NOT NULL DEFAULT 0,
- `Skill_8` int(11) NOT NULL DEFAULT 0,
- `Action_1` int(11) NOT NULL DEFAULT 0,
- `Action_2` int(11) NOT NULL DEFAULT 0,
- `Action_3` int(11) NOT NULL DEFAULT 0,
- `Action_4` int(11) NOT NULL DEFAULT 0,
- `Action_5` int(11) NOT NULL DEFAULT 0,
- `Action_6` int(11) NOT NULL DEFAULT 0,
- `Action_7` int(11) NOT NULL DEFAULT 0,
- `Action_8` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Type_1` INT NOT NULL DEFAULT 0,
+ `Type_2` INT NOT NULL DEFAULT 0,
+ `Type_3` INT NOT NULL DEFAULT 0,
+ `Type_4` INT NOT NULL DEFAULT 0,
+ `Type_5` INT NOT NULL DEFAULT 0,
+ `Type_6` INT NOT NULL DEFAULT 0,
+ `Type_7` INT NOT NULL DEFAULT 0,
+ `Type_8` INT NOT NULL DEFAULT 0,
+ `Index_1` INT NOT NULL DEFAULT 0,
+ `Index_2` INT NOT NULL DEFAULT 0,
+ `Index_3` INT NOT NULL DEFAULT 0,
+ `Index_4` INT NOT NULL DEFAULT 0,
+ `Index_5` INT NOT NULL DEFAULT 0,
+ `Index_6` INT NOT NULL DEFAULT 0,
+ `Index_7` INT NOT NULL DEFAULT 0,
+ `Index_8` INT NOT NULL DEFAULT 0,
+ `Skill_1` INT NOT NULL DEFAULT 0,
+ `Skill_2` INT NOT NULL DEFAULT 0,
+ `Skill_3` INT NOT NULL DEFAULT 0,
+ `Skill_4` INT NOT NULL DEFAULT 0,
+ `Skill_5` INT NOT NULL DEFAULT 0,
+ `Skill_6` INT NOT NULL DEFAULT 0,
+ `Skill_7` INT NOT NULL DEFAULT 0,
+ `Skill_8` INT NOT NULL DEFAULT 0,
+ `Action_1` INT NOT NULL DEFAULT 0,
+ `Action_2` INT NOT NULL DEFAULT 0,
+ `Action_3` INT NOT NULL DEFAULT 0,
+ `Action_4` INT NOT NULL DEFAULT 0,
+ `Action_5` INT NOT NULL DEFAULT 0,
+ `Action_6` INT NOT NULL DEFAULT 0,
+ `Action_7` INT NOT NULL DEFAULT 0,
+ `Action_8` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lock_dbc` WRITE;
diff --git a/data/sql/base/db_world/mail_level_reward.sql b/data/sql/base/db_world/mail_level_reward.sql
index 41f25fc561..f35d6370da 100644
--- a/data/sql/base/db_world/mail_level_reward.sql
+++ b/data/sql/base/db_world/mail_level_reward.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mail_level_reward`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `mail_level_reward`
(
- `level` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `raceMask` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `mailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `senderEntry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `level` TINYINT unsigned NOT NULL DEFAULT 0,
+ `raceMask` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `mailTemplateId` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `senderEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`level`,`raceMask`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Mail System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Mail System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mail_level_reward` WRITE;
diff --git a/data/sql/base/db_world/mail_loot_template.sql b/data/sql/base/db_world/mail_loot_template.sql
index 81a9335638..931ddeea11 100644
--- a/data/sql/base/db_world/mail_loot_template.sql
+++ b/data/sql/base/db_world/mail_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mail_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `mail_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mail_loot_template` WRITE;
diff --git a/data/sql/base/db_world/mailtemplate_dbc.sql b/data/sql/base/db_world/mailtemplate_dbc.sql
index 0c1f474b1a..c97b103240 100644
--- a/data/sql/base/db_world/mailtemplate_dbc.sql
+++ b/data/sql/base/db_world/mailtemplate_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mailtemplate_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `mailtemplate_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Subject_Lang_enUS` varchar(100) DEFAULT NULL,
`Subject_Lang_enGB` varchar(100) DEFAULT NULL,
`Subject_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,7 +26,7 @@ CREATE TABLE `mailtemplate_dbc`
`Subject_Lang_ptBR` varchar(100) DEFAULT NULL,
`Subject_Lang_itIT` varchar(100) DEFAULT NULL,
`Subject_Lang_Unk` varchar(100) DEFAULT NULL,
- `Subject_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Subject_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Body_Lang_enUS` varchar(500) DEFAULT NULL,
`Body_Lang_enGB` varchar(500) DEFAULT NULL,
`Body_Lang_koKR` varchar(500) DEFAULT NULL,
@@ -43,9 +43,9 @@ CREATE TABLE `mailtemplate_dbc`
`Body_Lang_ptBR` varchar(500) DEFAULT NULL,
`Body_Lang_itIT` varchar(500) DEFAULT NULL,
`Body_Lang_Unk` varchar(100) DEFAULT NULL,
- `Body_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Body_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mailtemplate_dbc` WRITE;
diff --git a/data/sql/base/db_world/map_dbc.sql b/data/sql/base/db_world/map_dbc.sql
index 5048b6c334..66de2aae43 100644
--- a/data/sql/base/db_world/map_dbc.sql
+++ b/data/sql/base/db_world/map_dbc.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `map_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `map_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Directory` varchar(100) DEFAULT NULL,
- `InstanceType` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `PVP` int(11) NOT NULL DEFAULT 0,
+ `InstanceType` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `PVP` INT NOT NULL DEFAULT 0,
`MapName_Lang_enUS` varchar(100) DEFAULT NULL,
`MapName_Lang_enGB` varchar(100) DEFAULT NULL,
`MapName_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -30,53 +30,53 @@ CREATE TABLE `map_dbc`
`MapName_Lang_ptBR` varchar(100) DEFAULT NULL,
`MapName_Lang_itIT` varchar(100) DEFAULT NULL,
`MapName_Lang_Unk` varchar(100) DEFAULT NULL,
- `MapName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `AreaTableID` int(11) NOT NULL DEFAULT 0,
- `MapDescription0_Lang_enUS` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_enGB` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_koKR` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_frFR` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_deDE` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_enCN` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_zhCN` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_enTW` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_zhTW` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_esES` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_esMX` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_ruRU` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_ptPT` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_ptBR` varchar(500) DEFAULT NULL,
- `MapDescription0_Lang_itIT` varchar(500) DEFAULT NULL,
+ `MapName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `AreaTableID` INT NOT NULL DEFAULT 0,
+ `MapDescription0_Lang_enUS` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_enGB` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_koKR` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_frFR` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_deDE` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_enCN` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_zhCN` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_enTW` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_zhTW` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_esES` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_esMX` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_ruRU` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_ptPT` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_ptBR` TEXT(500) DEFAULT NULL,
+ `MapDescription0_Lang_itIT` TEXT(500) DEFAULT NULL,
`MapDescription0_Lang_Unk` varchar(100) DEFAULT NULL,
- `MapDescription0_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `MapDescription1_Lang_enUS` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_enGB` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_koKR` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_frFR` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_deDE` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_enCN` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_zhCN` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_enTW` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_zhTW` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_esES` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_esMX` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_ruRU` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_ptPT` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_ptBR` varchar(500) DEFAULT NULL,
- `MapDescription1_Lang_itIT` varchar(500) DEFAULT NULL,
+ `MapDescription0_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `MapDescription1_Lang_enUS` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_enGB` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_koKR` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_frFR` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_deDE` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_enCN` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_zhCN` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_enTW` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_zhTW` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_esES` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_esMX` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_ruRU` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_ptPT` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_ptBR` TEXT(500) DEFAULT NULL,
+ `MapDescription1_Lang_itIT` TEXT(500) DEFAULT NULL,
`MapDescription1_Lang_Unk` varchar(100) DEFAULT NULL,
- `MapDescription1_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `LoadingScreenID` int(11) NOT NULL DEFAULT 0,
+ `MapDescription1_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `LoadingScreenID` INT NOT NULL DEFAULT 0,
`MinimapIconScale` float NOT NULL DEFAULT 0,
- `CorpseMapID` int(11) NOT NULL DEFAULT 0,
+ `CorpseMapID` INT NOT NULL DEFAULT 0,
`CorpseX` float NOT NULL DEFAULT 0,
`CorpseY` float NOT NULL DEFAULT 0,
- `TimeOfDayOverride` int(11) NOT NULL DEFAULT 0,
- `ExpansionID` int(11) NOT NULL DEFAULT 0,
- `RaidOffset` int(11) NOT NULL DEFAULT 0,
- `MaxPlayers` int(11) NOT NULL DEFAULT 0,
+ `TimeOfDayOverride` INT NOT NULL DEFAULT 0,
+ `ExpansionID` INT NOT NULL DEFAULT 0,
+ `RaidOffset` INT NOT NULL DEFAULT 0,
+ `MaxPlayers` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `map_dbc` WRITE;
diff --git a/data/sql/base/db_world/mapdifficulty_dbc.sql b/data/sql/base/db_world/mapdifficulty_dbc.sql
index 262d6f10a8..7c4e9328ee 100644
--- a/data/sql/base/db_world/mapdifficulty_dbc.sql
+++ b/data/sql/base/db_world/mapdifficulty_dbc.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mapdifficulty_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `mapdifficulty_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `MapID` int(11) NOT NULL DEFAULT 0,
- `Difficulty` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `MapID` INT NOT NULL DEFAULT 0,
+ `Difficulty` INT NOT NULL DEFAULT 0,
`Message_Lang_enUS` varchar(200) DEFAULT NULL,
`Message_Lang_enGB` varchar(200) DEFAULT NULL,
`Message_Lang_koKR` varchar(200) DEFAULT NULL,
@@ -28,12 +28,12 @@ CREATE TABLE `mapdifficulty_dbc`
`Message_Lang_ptBR` varchar(200) DEFAULT NULL,
`Message_Lang_itIT` varchar(200) DEFAULT NULL,
`Message_Lang_Unk` varchar(100) DEFAULT NULL,
- `Message_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `RaidDuration` int(11) NOT NULL DEFAULT 0,
- `MaxPlayers` int(11) NOT NULL DEFAULT 0,
+ `Message_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `RaidDuration` INT NOT NULL DEFAULT 0,
+ `MaxPlayers` INT NOT NULL DEFAULT 0,
`Difficultystring` varchar(100) DEFAULT NULL,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mapdifficulty_dbc` WRITE;
diff --git a/data/sql/base/db_world/milling_loot_template.sql b/data/sql/base/db_world/milling_loot_template.sql
index 95b27c750c..b0aa98baa7 100644
--- a/data/sql/base/db_world/milling_loot_template.sql
+++ b/data/sql/base/db_world/milling_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `milling_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `milling_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `milling_loot_template` WRITE;
diff --git a/data/sql/base/db_world/movie_dbc.sql b/data/sql/base/db_world/movie_dbc.sql
index 463d138d1f..c07c69e1a4 100644
--- a/data/sql/base/db_world/movie_dbc.sql
+++ b/data/sql/base/db_world/movie_dbc.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `movie_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `movie_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Filename` varchar(100) DEFAULT NULL,
- `Volume` int(11) NOT NULL DEFAULT 0,
+ `Volume` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `movie_dbc` WRITE;
diff --git a/data/sql/base/db_world/npc_spellclick_spells.sql b/data/sql/base/db_world/npc_spellclick_spells.sql
index 57d6d61113..b9d2183feb 100644
--- a/data/sql/base/db_world/npc_spellclick_spells.sql
+++ b/data/sql/base/db_world/npc_spellclick_spells.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `npc_spellclick_spells`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `npc_spellclick_spells`
(
- `npc_entry` int(10) unsigned NOT NULL COMMENT 'reference to creature_template',
- `spell_id` int(10) unsigned NOT NULL COMMENT 'spell which should be casted ',
- `cast_flags` tinyint(3) unsigned NOT NULL COMMENT 'first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit',
- `user_type` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'relation with summoner: 0-no 1-friendly 2-raid 3-party player can click',
+ `npc_entry` INT unsigned NOT NULL COMMENT 'reference to creature_template',
+ `spell_id` INT unsigned NOT NULL COMMENT 'spell which should be casted ',
+ `cast_flags` TINYINT unsigned NOT NULL COMMENT 'first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit',
+ `user_type` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'relation with summoner: 0-no 1-friendly 2-raid 3-party player can click',
PRIMARY KEY (`npc_entry`,`spell_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `npc_spellclick_spells` WRITE;
diff --git a/data/sql/base/db_world/npc_text.sql b/data/sql/base/db_world/npc_text.sql
index eb70ba5ea4..b3af3f00c8 100644
--- a/data/sql/base/db_world/npc_text.sql
+++ b/data/sql/base/db_world/npc_text.sql
@@ -6,101 +6,101 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `npc_text`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `npc_text`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`text0_0` longtext DEFAULT NULL,
`text0_1` longtext DEFAULT NULL,
- `BroadcastTextID0` mediumint(6) NOT NULL DEFAULT 0,
- `lang0` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID0` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang0` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability0` float NOT NULL DEFAULT 0,
- `em0_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em0_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em0_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em0_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em0_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em0_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em0_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em0_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em0_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em0_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em0_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em0_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text1_0` longtext DEFAULT NULL,
`text1_1` longtext DEFAULT NULL,
- `BroadcastTextID1` mediumint(6) NOT NULL DEFAULT 0,
- `lang1` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID1` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang1` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability1` float NOT NULL DEFAULT 0,
- `em1_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em1_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em1_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em1_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em1_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em1_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em1_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em1_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em1_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em1_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em1_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em1_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text2_0` longtext DEFAULT NULL,
`text2_1` longtext DEFAULT NULL,
- `BroadcastTextID2` mediumint(6) NOT NULL DEFAULT 0,
- `lang2` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID2` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang2` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability2` float NOT NULL DEFAULT 0,
- `em2_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em2_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em2_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em2_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em2_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em2_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em2_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em2_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em2_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em2_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em2_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em2_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text3_0` longtext DEFAULT NULL,
`text3_1` longtext DEFAULT NULL,
- `BroadcastTextID3` mediumint(6) NOT NULL DEFAULT 0,
- `lang3` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID3` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang3` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability3` float NOT NULL DEFAULT 0,
- `em3_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em3_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em3_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em3_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em3_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em3_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em3_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em3_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em3_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em3_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em3_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em3_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text4_0` longtext DEFAULT NULL,
`text4_1` longtext DEFAULT NULL,
- `BroadcastTextID4` mediumint(6) NOT NULL DEFAULT 0,
- `lang4` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID4` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang4` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability4` float NOT NULL DEFAULT 0,
- `em4_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em4_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em4_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em4_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em4_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em4_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em4_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em4_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em4_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em4_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em4_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em4_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text5_0` longtext DEFAULT NULL,
`text5_1` longtext DEFAULT NULL,
- `BroadcastTextID5` mediumint(6) NOT NULL DEFAULT 0,
- `lang5` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID5` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang5` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability5` float NOT NULL DEFAULT 0,
- `em5_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em5_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em5_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em5_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em5_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em5_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em5_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em5_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em5_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em5_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em5_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em5_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text6_0` longtext DEFAULT NULL,
`text6_1` longtext DEFAULT NULL,
- `BroadcastTextID6` mediumint(6) NOT NULL DEFAULT 0,
- `lang6` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID6` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang6` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability6` float NOT NULL DEFAULT 0,
- `em6_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em6_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em6_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em6_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em6_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em6_5` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `em6_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em6_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em6_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em6_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em6_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em6_5` SMALLINT unsigned NOT NULL DEFAULT 0,
`text7_0` longtext DEFAULT NULL,
`text7_1` longtext DEFAULT NULL,
- `BroadcastTextID7` mediumint(6) NOT NULL DEFAULT 0,
- `lang7` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `BroadcastTextID7` MEDIUMINT NOT NULL DEFAULT 0,
+ `lang7` TINYINT unsigned NOT NULL DEFAULT 0,
`Probability7` float NOT NULL DEFAULT 0,
- `em7_0` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em7_1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em7_2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em7_3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em7_4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `em7_5` smallint(5) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(6) NOT NULL DEFAULT 1,
+ `em7_0` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em7_1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em7_2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em7_3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em7_4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `em7_5` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 1,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `npc_text` WRITE;
diff --git a/data/sql/base/db_world/npc_text_locale.sql b/data/sql/base/db_world/npc_text_locale.sql
index a0c3182e10..0088c367fd 100644
--- a/data/sql/base/db_world/npc_text_locale.sql
+++ b/data/sql/base/db_world/npc_text_locale.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `npc_text_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `npc_text_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Locale` varchar(4) NOT NULL,
`Text0_0` longtext DEFAULT NULL,
`Text0_1` longtext DEFAULT NULL,
@@ -28,7 +28,7 @@ CREATE TABLE `npc_text_locale`
`Text7_0` longtext DEFAULT NULL,
`Text7_1` longtext DEFAULT NULL,
PRIMARY KEY (`ID`,`Locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `npc_text_locale` WRITE;
diff --git a/data/sql/base/db_world/npc_trainer.sql b/data/sql/base/db_world/npc_trainer.sql
index c909c9fc5f..2c9f1f088a 100644
--- a/data/sql/base/db_world/npc_trainer.sql
+++ b/data/sql/base/db_world/npc_trainer.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `npc_trainer`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `npc_trainer`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `SpellID` mediumint(8) NOT NULL DEFAULT 0,
- `MoneyCost` int(10) unsigned NOT NULL DEFAULT 0,
- `ReqSkillLine` smallint(5) unsigned NOT NULL DEFAULT 0,
- `ReqSkillRank` smallint(5) unsigned NOT NULL DEFAULT 0,
- `ReqLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `SpellID` MEDIUMINT NOT NULL DEFAULT 0,
+ `MoneyCost` INT unsigned NOT NULL DEFAULT 0,
+ `ReqSkillLine` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `ReqSkillRank` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `ReqLevel` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`,`SpellID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `npc_trainer` WRITE;
diff --git a/data/sql/base/db_world/npc_vendor.sql b/data/sql/base/db_world/npc_vendor.sql
index e30579761c..09ba1246e8 100644
--- a/data/sql/base/db_world/npc_vendor.sql
+++ b/data/sql/base/db_world/npc_vendor.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `npc_vendor`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `npc_vendor`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `slot` smallint(6) NOT NULL DEFAULT 0,
- `item` mediumint(8) NOT NULL DEFAULT 0,
- `maxcount` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `incrtime` int(10) unsigned NOT NULL DEFAULT 0,
- `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `slot` SMALLINT NOT NULL DEFAULT 0,
+ `item` MEDIUMINT NOT NULL DEFAULT 0,
+ `maxcount` TINYINT unsigned NOT NULL DEFAULT 0,
+ `incrtime` INT unsigned NOT NULL DEFAULT 0,
+ `ExtendedCost` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`entry`,`item`,`ExtendedCost`),
KEY `slot` (`slot`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Npc System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Npc System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `npc_vendor` WRITE;
diff --git a/data/sql/base/db_world/outdoorpvp_template.sql b/data/sql/base/db_world/outdoorpvp_template.sql
index 95fc71f6c8..34b02368cf 100644
--- a/data/sql/base/db_world/outdoorpvp_template.sql
+++ b/data/sql/base/db_world/outdoorpvp_template.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `outdoorpvp_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `outdoorpvp_template`
(
- `TypeId` tinyint(3) unsigned NOT NULL,
+ `TypeId` TINYINT unsigned NOT NULL,
`ScriptName` char(64) NOT NULL DEFAULT '',
`comment` text DEFAULT NULL,
PRIMARY KEY (`TypeId`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `outdoorpvp_template` WRITE;
diff --git a/data/sql/base/db_world/overridespelldata_dbc.sql b/data/sql/base/db_world/overridespelldata_dbc.sql
index 426ab66920..659314983a 100644
--- a/data/sql/base/db_world/overridespelldata_dbc.sql
+++ b/data/sql/base/db_world/overridespelldata_dbc.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `overridespelldata_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `overridespelldata_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Spells_1` int(11) NOT NULL DEFAULT 0,
- `Spells_2` int(11) NOT NULL DEFAULT 0,
- `Spells_3` int(11) NOT NULL DEFAULT 0,
- `Spells_4` int(11) NOT NULL DEFAULT 0,
- `Spells_5` int(11) NOT NULL DEFAULT 0,
- `Spells_6` int(11) NOT NULL DEFAULT 0,
- `Spells_7` int(11) NOT NULL DEFAULT 0,
- `Spells_8` int(11) NOT NULL DEFAULT 0,
- `Spells_9` int(11) NOT NULL DEFAULT 0,
- `Spells_10` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Spells_1` INT NOT NULL DEFAULT 0,
+ `Spells_2` INT NOT NULL DEFAULT 0,
+ `Spells_3` INT NOT NULL DEFAULT 0,
+ `Spells_4` INT NOT NULL DEFAULT 0,
+ `Spells_5` INT NOT NULL DEFAULT 0,
+ `Spells_6` INT NOT NULL DEFAULT 0,
+ `Spells_7` INT NOT NULL DEFAULT 0,
+ `Spells_8` INT NOT NULL DEFAULT 0,
+ `Spells_9` INT NOT NULL DEFAULT 0,
+ `Spells_10` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `overridespelldata_dbc` WRITE;
diff --git a/data/sql/base/db_world/page_text.sql b/data/sql/base/db_world/page_text.sql
index 89eccb40d7..19c995d397 100644
--- a/data/sql/base/db_world/page_text.sql
+++ b/data/sql/base/db_world/page_text.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `page_text`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `page_text`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Text` longtext NOT NULL,
- `NextPageID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `NextPageID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Item System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `page_text` WRITE;
diff --git a/data/sql/base/db_world/page_text_locale.sql b/data/sql/base/db_world/page_text_locale.sql
index 585221c4bb..cee31bafe5 100644
--- a/data/sql/base/db_world/page_text_locale.sql
+++ b/data/sql/base/db_world/page_text_locale.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `page_text_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `page_text_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`Text` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `page_text_locale` WRITE;
diff --git a/data/sql/base/db_world/pet_levelstats.sql b/data/sql/base/db_world/pet_levelstats.sql
index 873e66183a..cce70f0024 100644
--- a/data/sql/base/db_world/pet_levelstats.sql
+++ b/data/sql/base/db_world/pet_levelstats.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_levelstats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pet_levelstats`
(
- `creature_entry` mediumint(8) unsigned NOT NULL,
- `level` tinyint(3) unsigned NOT NULL,
- `hp` smallint(5) unsigned NOT NULL,
- `mana` smallint(5) unsigned NOT NULL,
- `armor` int(10) unsigned NOT NULL DEFAULT 0,
- `str` smallint(5) unsigned NOT NULL,
- `agi` smallint(5) unsigned NOT NULL,
- `sta` smallint(5) unsigned NOT NULL,
- `inte` smallint(5) unsigned NOT NULL,
- `spi` smallint(5) unsigned NOT NULL,
- `min_dmg` smallint(5) unsigned NOT NULL DEFAULT 0,
- `max_dmg` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `creature_entry` MEDIUMINT unsigned NOT NULL,
+ `level` TINYINT unsigned NOT NULL,
+ `hp` SMALLINT unsigned NOT NULL,
+ `mana` SMALLINT unsigned NOT NULL,
+ `armor` INT unsigned NOT NULL DEFAULT 0,
+ `str` SMALLINT unsigned NOT NULL,
+ `agi` SMALLINT unsigned NOT NULL,
+ `sta` SMALLINT unsigned NOT NULL,
+ `inte` SMALLINT unsigned NOT NULL,
+ `spi` SMALLINT unsigned NOT NULL,
+ `min_dmg` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `max_dmg` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`creature_entry`,`level`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores pet levels stats.';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 PACK_KEYS=0 COMMENT='Stores pet levels stats.';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_levelstats` WRITE;
diff --git a/data/sql/base/db_world/pet_name_generation.sql b/data/sql/base/db_world/pet_name_generation.sql
index 01eb8ab228..9fb5d7c536 100644
--- a/data/sql/base/db_world/pet_name_generation.sql
+++ b/data/sql/base/db_world/pet_name_generation.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_name_generation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pet_name_generation`
(
- `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
+ `id` MEDIUMINT unsigned NOT NULL AUTO_INCREMENT,
`word` tinytext NOT NULL,
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `half` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `half` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
-) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_name_generation` WRITE;
diff --git a/data/sql/base/db_world/pickpocketing_loot_template.sql b/data/sql/base/db_world/pickpocketing_loot_template.sql
index b485eb7d15..5fc7f1288f 100644
--- a/data/sql/base/db_world/pickpocketing_loot_template.sql
+++ b/data/sql/base/db_world/pickpocketing_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pickpocketing_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pickpocketing_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pickpocketing_loot_template` WRITE;
diff --git a/data/sql/base/db_world/player_classlevelstats.sql b/data/sql/base/db_world/player_classlevelstats.sql
index c161d94ccf..84c8bea170 100644
--- a/data/sql/base/db_world/player_classlevelstats.sql
+++ b/data/sql/base/db_world/player_classlevelstats.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_classlevelstats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_classlevelstats`
(
- `class` tinyint(3) unsigned NOT NULL,
- `level` tinyint(3) unsigned NOT NULL,
- `basehp` smallint(5) unsigned NOT NULL,
- `basemana` smallint(5) unsigned NOT NULL,
+ `class` TINYINT unsigned NOT NULL,
+ `level` TINYINT unsigned NOT NULL,
+ `basehp` SMALLINT unsigned NOT NULL,
+ `basemana` SMALLINT unsigned NOT NULL,
PRIMARY KEY (`class`,`level`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 PACK_KEYS=0 COMMENT='Stores levels stats.';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_classlevelstats` WRITE;
diff --git a/data/sql/base/db_world/player_factionchange_achievement.sql b/data/sql/base/db_world/player_factionchange_achievement.sql
index 79ded8d801..2c102a9d68 100644
--- a/data/sql/base/db_world/player_factionchange_achievement.sql
+++ b/data/sql/base/db_world/player_factionchange_achievement.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_factionchange_achievement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_factionchange_achievement`
(
- `alliance_id` int(10) unsigned NOT NULL,
- `horde_id` int(10) unsigned NOT NULL,
+ `alliance_id` INT unsigned NOT NULL,
+ `horde_id` INT unsigned NOT NULL,
PRIMARY KEY (`alliance_id`,`horde_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_factionchange_achievement` WRITE;
diff --git a/data/sql/base/db_world/player_factionchange_items.sql b/data/sql/base/db_world/player_factionchange_items.sql
index aff426fb3a..4e3a1d6f1a 100644
--- a/data/sql/base/db_world/player_factionchange_items.sql
+++ b/data/sql/base/db_world/player_factionchange_items.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_factionchange_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_factionchange_items`
(
- `alliance_id` int(10) unsigned NOT NULL,
+ `alliance_id` INT unsigned NOT NULL,
`alliance_comment` text NOT NULL,
- `horde_id` int(10) unsigned NOT NULL,
+ `horde_id` INT unsigned NOT NULL,
`horde_comment` text NOT NULL,
PRIMARY KEY (`alliance_id`,`horde_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_factionchange_items` WRITE;
@@ -854,12 +854,12 @@ INSERT INTO `player_factionchange_items` VALUES
(47193,'Misery\'s End(245)',47322,'Suffering\'s End(245)'),
(47194,'Footpads of the Icy Floe(245)',47321,'Boots of the Icy Floe(245)'),
(47195,'Belt of the Forgotten Martyr(245)',47323,'Girdle of the Forgotten Martyr(245)'),
-(47203,'Armbands of the Ashen Saint(245)',47324,'Bindings of the Ashen Saint(245)'),
+(47203,'Armbands of the Ashen SaINT',47324,'Bindings of the Ashen SaINT'),
(47204,'Chestguard of Flowing Elements(245)',47325,'Cuirass of Flowing Elements(245)'),
(47205,'Footpads of the Icy Floe(258)',47482,'Boots of the Icy Floe(258)'),
(47206,'Misery\'s End(258)',47483,'Suffering\'s End(258)'),
(47207,'Belt of the Forgotten Martyr(258)',47484,'Girdle of the Forgotten Martyr(258)'),
-(47208,'Armbands of the Ashen Saint(258)',47485,'Bindings of the Ashen Saint(258)'),
+(47208,'Armbands of the Ashen SaINT',47485,'Bindings of the Ashen SaINT'),
(47209,'Chestguard of Flowing Elements(258)',47486,'Cuirass of Flowing Elements(258)'),
(47223,'Ring of the Darkmender(245)',47278,'Circle of the Darkmender(245)'),
(47224,'Ring of the Darkmender(258)',47439,'Circle of the Darkmender(258)'),
diff --git a/data/sql/base/db_world/player_factionchange_quests.sql b/data/sql/base/db_world/player_factionchange_quests.sql
index 3da1ff3fd4..e904f3a604 100644
--- a/data/sql/base/db_world/player_factionchange_quests.sql
+++ b/data/sql/base/db_world/player_factionchange_quests.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_factionchange_quests`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_factionchange_quests`
(
- `alliance_id` int(10) unsigned NOT NULL,
- `horde_id` int(10) unsigned NOT NULL,
+ `alliance_id` INT unsigned NOT NULL,
+ `horde_id` INT unsigned NOT NULL,
PRIMARY KEY (`alliance_id`,`horde_id`),
UNIQUE KEY `alliance_uniq` (`alliance_id`),
UNIQUE KEY `horde_uniq` (`horde_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_factionchange_quests` WRITE;
diff --git a/data/sql/base/db_world/player_factionchange_reputations.sql b/data/sql/base/db_world/player_factionchange_reputations.sql
index 39327c4926..41e8fe9b5e 100644
--- a/data/sql/base/db_world/player_factionchange_reputations.sql
+++ b/data/sql/base/db_world/player_factionchange_reputations.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_factionchange_reputations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_factionchange_reputations`
(
- `alliance_id` int(10) unsigned NOT NULL,
- `horde_id` int(10) unsigned NOT NULL,
+ `alliance_id` INT unsigned NOT NULL,
+ `horde_id` INT unsigned NOT NULL,
PRIMARY KEY (`alliance_id`,`horde_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_factionchange_reputations` WRITE;
diff --git a/data/sql/base/db_world/player_factionchange_spells.sql b/data/sql/base/db_world/player_factionchange_spells.sql
index aa8a617c6f..f815d9de30 100644
--- a/data/sql/base/db_world/player_factionchange_spells.sql
+++ b/data/sql/base/db_world/player_factionchange_spells.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_factionchange_spells`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_factionchange_spells`
(
- `alliance_id` int(10) unsigned NOT NULL,
+ `alliance_id` INT unsigned NOT NULL,
`alliance_comment` text NOT NULL,
- `horde_id` int(10) unsigned NOT NULL,
+ `horde_id` INT unsigned NOT NULL,
`horde_comment` text NOT NULL,
PRIMARY KEY (`alliance_id`,`horde_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_factionchange_spells` WRITE;
diff --git a/data/sql/base/db_world/player_factionchange_titles.sql b/data/sql/base/db_world/player_factionchange_titles.sql
index fbb09c7071..3d720339ef 100644
--- a/data/sql/base/db_world/player_factionchange_titles.sql
+++ b/data/sql/base/db_world/player_factionchange_titles.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_factionchange_titles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_factionchange_titles`
(
- `alliance_id` int(8) NOT NULL,
+ `alliance_id` INT NOT NULL,
`alliance_comment` text DEFAULT NULL,
- `horde_id` int(8) NOT NULL,
+ `horde_id` INT NOT NULL,
`horde_comment` text DEFAULT NULL,
PRIMARY KEY (`alliance_id`,`horde_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_factionchange_titles` WRITE;
diff --git a/data/sql/base/db_world/player_levelstats.sql b/data/sql/base/db_world/player_levelstats.sql
index 2613561a88..70c4c5220d 100644
--- a/data/sql/base/db_world/player_levelstats.sql
+++ b/data/sql/base/db_world/player_levelstats.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_levelstats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_levelstats`
(
- `race` tinyint(3) unsigned NOT NULL,
- `class` tinyint(3) unsigned NOT NULL,
- `level` tinyint(3) unsigned NOT NULL,
- `str` tinyint(3) unsigned NOT NULL,
- `agi` tinyint(3) unsigned NOT NULL,
- `sta` tinyint(3) unsigned NOT NULL,
- `inte` tinyint(3) unsigned NOT NULL,
- `spi` tinyint(3) unsigned NOT NULL,
+ `race` TINYINT unsigned NOT NULL,
+ `class` TINYINT unsigned NOT NULL,
+ `level` TINYINT unsigned NOT NULL,
+ `str` TINYINT unsigned NOT NULL,
+ `agi` TINYINT unsigned NOT NULL,
+ `sta` TINYINT unsigned NOT NULL,
+ `inte` TINYINT unsigned NOT NULL,
+ `spi` TINYINT unsigned NOT NULL,
PRIMARY KEY (`race`,`class`,`level`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 PACK_KEYS=0 COMMENT='Stores levels stats.';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_levelstats` WRITE;
diff --git a/data/sql/base/db_world/player_xp_for_level.sql b/data/sql/base/db_world/player_xp_for_level.sql
index 4be04ccace..f817b41396 100644
--- a/data/sql/base/db_world/player_xp_for_level.sql
+++ b/data/sql/base/db_world/player_xp_for_level.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `player_xp_for_level`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `player_xp_for_level`
(
- `Level` tinyint(3) unsigned NOT NULL,
- `Experience` int(10) unsigned NOT NULL,
+ `Level` TINYINT unsigned NOT NULL,
+ `Experience` INT unsigned NOT NULL,
PRIMARY KEY (`Level`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `player_xp_for_level` WRITE;
diff --git a/data/sql/base/db_world/playercreateinfo.sql b/data/sql/base/db_world/playercreateinfo.sql
index 74aa17a4b3..36aabb8a76 100644
--- a/data/sql/base/db_world/playercreateinfo.sql
+++ b/data/sql/base/db_world/playercreateinfo.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `playercreateinfo`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `playercreateinfo`
(
- `race` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `map` smallint(5) unsigned NOT NULL DEFAULT 0,
- `zone` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `race` TINYINT unsigned NOT NULL DEFAULT 0,
+ `class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `map` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `zone` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
PRIMARY KEY (`race`,`class`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `playercreateinfo` WRITE;
diff --git a/data/sql/base/db_world/playercreateinfo_action.sql b/data/sql/base/db_world/playercreateinfo_action.sql
index 5ddca787cd..40b614d623 100644
--- a/data/sql/base/db_world/playercreateinfo_action.sql
+++ b/data/sql/base/db_world/playercreateinfo_action.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `playercreateinfo_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `playercreateinfo_action`
(
- `race` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `button` smallint(5) unsigned NOT NULL DEFAULT 0,
- `action` int(10) unsigned NOT NULL DEFAULT 0,
- `type` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `race` TINYINT unsigned NOT NULL DEFAULT 0,
+ `class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `button` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `action` INT unsigned NOT NULL DEFAULT 0,
+ `type` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`race`,`class`,`button`),
KEY `playercreateinfo_race_class_index` (`race`,`class`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `playercreateinfo_action` WRITE;
diff --git a/data/sql/base/db_world/playercreateinfo_item.sql b/data/sql/base/db_world/playercreateinfo_item.sql
index 8737229a45..3901de96a1 100644
--- a/data/sql/base/db_world/playercreateinfo_item.sql
+++ b/data/sql/base/db_world/playercreateinfo_item.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `playercreateinfo_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `playercreateinfo_item`
(
- `race` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `class` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `itemid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `amount` smallint(5) unsigned NOT NULL DEFAULT 1,
+ `race` TINYINT unsigned NOT NULL DEFAULT 0,
+ `class` TINYINT unsigned NOT NULL DEFAULT 0,
+ `itemid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `amount` SMALLINT unsigned NOT NULL DEFAULT 1,
`Note` varchar(255) DEFAULT NULL,
PRIMARY KEY (`race`,`class`,`itemid`),
KEY `playercreateinfo_race_class_index` (`race`,`class`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `playercreateinfo_item` WRITE;
diff --git a/data/sql/base/db_world/playercreateinfo_spell.sql b/data/sql/base/db_world/playercreateinfo_spell.sql
index c36e0121c2..eb0dd5d9b0 100644
--- a/data/sql/base/db_world/playercreateinfo_spell.sql
+++ b/data/sql/base/db_world/playercreateinfo_spell.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `playercreateinfo_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `playercreateinfo_spell`
(
- `racemask` int(10) unsigned NOT NULL DEFAULT 0,
- `classmask` int(10) unsigned NOT NULL DEFAULT 0,
- `Spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `racemask` INT unsigned NOT NULL DEFAULT 0,
+ `classmask` INT unsigned NOT NULL DEFAULT 0,
+ `Spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Note` varchar(255) DEFAULT NULL,
PRIMARY KEY (`racemask`,`classmask`,`Spell`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `playercreateinfo_spell` WRITE;
diff --git a/data/sql/base/db_world/playercreateinfo_spell_custom.sql b/data/sql/base/db_world/playercreateinfo_spell_custom.sql
index 3c4a066db3..c62469b401 100644
--- a/data/sql/base/db_world/playercreateinfo_spell_custom.sql
+++ b/data/sql/base/db_world/playercreateinfo_spell_custom.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `playercreateinfo_spell_custom`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `playercreateinfo_spell_custom`
(
- `racemask` int(10) unsigned NOT NULL DEFAULT 0,
- `classmask` int(10) unsigned NOT NULL DEFAULT 0,
- `Spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `racemask` INT unsigned NOT NULL DEFAULT 0,
+ `classmask` INT unsigned NOT NULL DEFAULT 0,
+ `Spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Note` varchar(255) DEFAULT NULL,
PRIMARY KEY (`racemask`,`classmask`,`Spell`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `playercreateinfo_spell_custom` WRITE;
diff --git a/data/sql/base/db_world/points_of_interest.sql b/data/sql/base/db_world/points_of_interest.sql
index 4d5b91fcf7..5f3f944c87 100644
--- a/data/sql/base/db_world/points_of_interest.sql
+++ b/data/sql/base/db_world/points_of_interest.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `points_of_interest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `points_of_interest`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`PositionX` float NOT NULL DEFAULT 0,
`PositionY` float NOT NULL DEFAULT 0,
- `Icon` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Flags` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Importance` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Icon` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Flags` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Importance` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Name` text NOT NULL,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `points_of_interest` WRITE;
diff --git a/data/sql/base/db_world/points_of_interest_locale.sql b/data/sql/base/db_world/points_of_interest_locale.sql
index 4fb4baa248..3334cc8b08 100644
--- a/data/sql/base/db_world/points_of_interest_locale.sql
+++ b/data/sql/base/db_world/points_of_interest_locale.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `points_of_interest_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `points_of_interest_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`Name` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `points_of_interest_locale` WRITE;
diff --git a/data/sql/base/db_world/pool_creature.sql b/data/sql/base/db_world/pool_creature.sql
index a17f2e1f47..95b31aa61f 100644
--- a/data/sql/base/db_world/pool_creature.sql
+++ b/data/sql/base/db_world/pool_creature.sql
@@ -6,16 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pool_creature`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pool_creature`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `chance` float unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `pool_entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `chance` FLOAT NOT NULL DEFAULT 0,
`description` varchar(255) DEFAULT NULL,
+ CHECK (`chance`>=0),
PRIMARY KEY (`guid`),
KEY `idx_guid` (`guid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pool_creature` WRITE;
diff --git a/data/sql/base/db_world/pool_gameobject.sql b/data/sql/base/db_world/pool_gameobject.sql
index b2a124923a..3576d14735 100644
--- a/data/sql/base/db_world/pool_gameobject.sql
+++ b/data/sql/base/db_world/pool_gameobject.sql
@@ -6,16 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pool_gameobject`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pool_gameobject`
(
- `guid` int(10) unsigned NOT NULL DEFAULT 0,
- `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `chance` float unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL DEFAULT 0,
+ `pool_entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `chance` FLOAT NOT NULL DEFAULT 0,
`description` varchar(255) DEFAULT NULL,
+ CHECK (`chance`>=0),
PRIMARY KEY (`guid`),
KEY `idx_guid` (`guid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pool_gameobject` WRITE;
diff --git a/data/sql/base/db_world/pool_pool.sql b/data/sql/base/db_world/pool_pool.sql
index c64b3108e5..8f4391583c 100644
--- a/data/sql/base/db_world/pool_pool.sql
+++ b/data/sql/base/db_world/pool_pool.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pool_pool`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pool_pool`
(
- `pool_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `mother_pool` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `pool_id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `mother_pool` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`chance` float NOT NULL DEFAULT 0,
`description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`pool_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pool_pool` WRITE;
diff --git a/data/sql/base/db_world/pool_quest.sql b/data/sql/base/db_world/pool_quest.sql
index 3305e99a6c..55b5289b57 100644
--- a/data/sql/base/db_world/pool_quest.sql
+++ b/data/sql/base/db_world/pool_quest.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pool_quest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pool_quest`
(
- `entry` int(10) unsigned NOT NULL DEFAULT 0,
- `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` INT unsigned NOT NULL DEFAULT 0,
+ `pool_entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`entry`),
KEY `idx_guid` (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pool_quest` WRITE;
diff --git a/data/sql/base/db_world/pool_template.sql b/data/sql/base/db_world/pool_template.sql
index 9a150e8d44..45adcc2a28 100644
--- a/data/sql/base/db_world/pool_template.sql
+++ b/data/sql/base/db_world/pool_template.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pool_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pool_template`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Pool entry',
- `max_limit` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Max number of objects (0) is no limit',
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Pool entry',
+ `max_limit` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Max number of objects (0) is no limit',
`description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pool_template` WRITE;
diff --git a/data/sql/base/db_world/powerdisplay_dbc.sql b/data/sql/base/db_world/powerdisplay_dbc.sql
index 15500482a5..61ccf06677 100644
--- a/data/sql/base/db_world/powerdisplay_dbc.sql
+++ b/data/sql/base/db_world/powerdisplay_dbc.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `powerdisplay_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `powerdisplay_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ActualType` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ActualType` INT NOT NULL DEFAULT 0,
`GlobalstringBaseTag` varchar(100) DEFAULT NULL,
- `Red` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Green` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Blue` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `Red` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Green` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Blue` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `powerdisplay_dbc` WRITE;
diff --git a/data/sql/base/db_world/prospecting_loot_template.sql b/data/sql/base/db_world/prospecting_loot_template.sql
index f303e0d2c3..849207cfb8 100644
--- a/data/sql/base/db_world/prospecting_loot_template.sql
+++ b/data/sql/base/db_world/prospecting_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `prospecting_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `prospecting_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `prospecting_loot_template` WRITE;
diff --git a/data/sql/base/db_world/pvpdifficulty_dbc.sql b/data/sql/base/db_world/pvpdifficulty_dbc.sql
index 6e3509eb8b..fc1bad302d 100644
--- a/data/sql/base/db_world/pvpdifficulty_dbc.sql
+++ b/data/sql/base/db_world/pvpdifficulty_dbc.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pvpdifficulty_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pvpdifficulty_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `MapID` int(11) NOT NULL DEFAULT 0,
- `RangeIndex` int(11) NOT NULL DEFAULT 0,
- `MinLevel` int(11) NOT NULL DEFAULT 0,
- `MaxLevel` int(11) NOT NULL DEFAULT 0,
- `Difficulty` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `MapID` INT NOT NULL DEFAULT 0,
+ `RangeIndex` INT NOT NULL DEFAULT 0,
+ `MinLevel` INT NOT NULL DEFAULT 0,
+ `MaxLevel` INT NOT NULL DEFAULT 0,
+ `Difficulty` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pvpdifficulty_dbc` WRITE;
diff --git a/data/sql/base/db_world/quest_details.sql b/data/sql/base/db_world/quest_details.sql
index 12eb8ea6e6..185d49f3b5 100644
--- a/data/sql/base/db_world/quest_details.sql
+++ b/data/sql/base/db_world/quest_details.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_details`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_details`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Emote1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Emote2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Emote3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Emote4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Emote1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Emote2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Emote3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Emote4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay1` INT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay2` INT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay3` INT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay4` INT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_details` WRITE;
diff --git a/data/sql/base/db_world/quest_mail_sender.sql b/data/sql/base/db_world/quest_mail_sender.sql
index b8133a2d03..d883bd85c1 100644
--- a/data/sql/base/db_world/quest_mail_sender.sql
+++ b/data/sql/base/db_world/quest_mail_sender.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_mail_sender`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_mail_sender`
(
- `QuestId` int(5) unsigned NOT NULL DEFAULT 0,
- `RewardMailSenderEntry` int(5) unsigned NOT NULL DEFAULT 0,
+ `QuestId` INT unsigned NOT NULL DEFAULT 0,
+ `RewardMailSenderEntry` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`QuestId`) USING BTREE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_mail_sender` WRITE;
diff --git a/data/sql/base/db_world/quest_offer_reward.sql b/data/sql/base/db_world/quest_offer_reward.sql
index f6bef8bfe8..896ba20386 100644
--- a/data/sql/base/db_world/quest_offer_reward.sql
+++ b/data/sql/base/db_world/quest_offer_reward.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_offer_reward`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_offer_reward`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Emote1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Emote2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Emote3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Emote4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT 0,
- `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Emote1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Emote2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Emote3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Emote4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay1` INT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay2` INT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay3` INT unsigned NOT NULL DEFAULT 0,
+ `EmoteDelay4` INT unsigned NOT NULL DEFAULT 0,
`RewardText` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_offer_reward` WRITE;
diff --git a/data/sql/base/db_world/quest_offer_reward_locale.sql b/data/sql/base/db_world/quest_offer_reward_locale.sql
index 770c3f2b37..2e9f65fe24 100644
--- a/data/sql/base/db_world/quest_offer_reward_locale.sql
+++ b/data/sql/base/db_world/quest_offer_reward_locale.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_offer_reward_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_offer_reward_locale`
(
- `ID` int(10) unsigned NOT NULL DEFAULT 0,
+ `ID` INT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`RewardText` text DEFAULT NULL,
- `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_offer_reward_locale` WRITE;
diff --git a/data/sql/base/db_world/quest_poi.sql b/data/sql/base/db_world/quest_poi.sql
index 2d6d8b43de..1eef5cb856 100644
--- a/data/sql/base/db_world/quest_poi.sql
+++ b/data/sql/base/db_world/quest_poi.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_poi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_poi`
(
- `QuestID` int(10) unsigned NOT NULL DEFAULT 0,
- `id` int(10) unsigned NOT NULL DEFAULT 0,
- `ObjectiveIndex` int(11) NOT NULL DEFAULT 0,
- `MapID` int(10) unsigned NOT NULL DEFAULT 0,
- `WorldMapAreaId` int(10) unsigned NOT NULL DEFAULT 0,
- `Floor` int(10) unsigned NOT NULL DEFAULT 0,
- `Priority` int(10) unsigned NOT NULL DEFAULT 0,
- `Flags` int(10) unsigned NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `QuestID` INT unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `ObjectiveIndex` INT NOT NULL DEFAULT 0,
+ `MapID` INT unsigned NOT NULL DEFAULT 0,
+ `WorldMapAreaId` INT unsigned NOT NULL DEFAULT 0,
+ `Floor` INT unsigned NOT NULL DEFAULT 0,
+ `Priority` INT unsigned NOT NULL DEFAULT 0,
+ `Flags` INT unsigned NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`QuestID`,`id`),
KEY `idx` (`QuestID`,`id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_poi` WRITE;
diff --git a/data/sql/base/db_world/quest_poi_points.sql b/data/sql/base/db_world/quest_poi_points.sql
index 778b7163b9..346eb152f6 100644
--- a/data/sql/base/db_world/quest_poi_points.sql
+++ b/data/sql/base/db_world/quest_poi_points.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_poi_points`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_poi_points`
(
- `QuestID` int(10) unsigned NOT NULL DEFAULT 0,
- `Idx1` int(10) unsigned NOT NULL DEFAULT 0,
- `Idx2` int(10) unsigned NOT NULL DEFAULT 0,
- `X` int(11) NOT NULL DEFAULT 0,
- `Y` int(11) NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `QuestID` INT unsigned NOT NULL DEFAULT 0,
+ `Idx1` INT unsigned NOT NULL DEFAULT 0,
+ `Idx2` INT unsigned NOT NULL DEFAULT 0,
+ `X` INT NOT NULL DEFAULT 0,
+ `Y` INT NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`QuestID`,`Idx1`,`Idx2`),
KEY `questId_id` (`QuestID`,`Idx1`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_poi_points` WRITE;
diff --git a/data/sql/base/db_world/quest_request_items.sql b/data/sql/base/db_world/quest_request_items.sql
index c1f136d65a..935c374f23 100644
--- a/data/sql/base/db_world/quest_request_items.sql
+++ b/data/sql/base/db_world/quest_request_items.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_request_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_request_items`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `EmoteOnComplete` smallint(5) unsigned NOT NULL DEFAULT 0,
- `EmoteOnIncomplete` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `EmoteOnComplete` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `EmoteOnIncomplete` SMALLINT unsigned NOT NULL DEFAULT 0,
`CompletionText` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_request_items` WRITE;
diff --git a/data/sql/base/db_world/quest_request_items_locale.sql b/data/sql/base/db_world/quest_request_items_locale.sql
index 6c06105add..a226c4bf3a 100644
--- a/data/sql/base/db_world/quest_request_items_locale.sql
+++ b/data/sql/base/db_world/quest_request_items_locale.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_request_items_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_request_items_locale`
(
- `ID` int(10) unsigned NOT NULL DEFAULT 0,
+ `ID` INT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`CompletionText` text DEFAULT NULL,
- `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
+ `VerifiedBuild` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_request_items_locale` WRITE;
diff --git a/data/sql/base/db_world/quest_template.sql b/data/sql/base/db_world/quest_template.sql
index 7202a86494..1627ef6883 100644
--- a/data/sql/base/db_world/quest_template.sql
+++ b/data/sql/base/db_world/quest_template.sql
@@ -6,116 +6,116 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_template`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `QuestType` tinyint(3) unsigned NOT NULL DEFAULT 2,
- `QuestLevel` smallint(3) NOT NULL DEFAULT 1,
- `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `QuestSortID` smallint(6) NOT NULL DEFAULT 0,
- `QuestInfoID` smallint(5) unsigned NOT NULL DEFAULT 0,
- `SuggestedGroupNum` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RequiredFactionId1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredFactionId2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredFactionValue1` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredFactionValue2` mediumint(8) NOT NULL DEFAULT 0,
- `RewardNextQuest` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardXPDifficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RewardMoney` int(11) NOT NULL DEFAULT 0,
- `RewardBonusMoney` int(10) unsigned NOT NULL DEFAULT 0,
- `RewardDisplaySpell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardSpell` int(11) NOT NULL DEFAULT 0,
- `RewardHonor` int(11) NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `QuestType` TINYINT unsigned NOT NULL DEFAULT 2,
+ `QuestLevel` SMALLINT NOT NULL DEFAULT 1,
+ `MinLevel` TINYINT unsigned NOT NULL DEFAULT 0,
+ `QuestSortID` SMALLINT NOT NULL DEFAULT 0,
+ `QuestInfoID` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `SuggestedGroupNum` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RequiredFactionId1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredFactionId2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredFactionValue1` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredFactionValue2` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardNextQuest` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardXPDifficulty` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RewardMoney` INT NOT NULL DEFAULT 0,
+ `RewardBonusMoney` INT unsigned NOT NULL DEFAULT 0,
+ `RewardDisplaySpell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardSpell` INT NOT NULL DEFAULT 0,
+ `RewardHonor` INT NOT NULL DEFAULT 0,
`RewardKillHonor` float NOT NULL DEFAULT 0,
- `StartItem` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Flags` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiredPlayerKills` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RewardItem1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardAmount1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardItem2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardAmount2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardItem3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardAmount3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardItem4` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardAmount4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `ItemDrop1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemDropQuantity1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `ItemDrop2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemDropQuantity2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `ItemDrop3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemDropQuantity3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `ItemDrop4` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ItemDropQuantity4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemID1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemQuantity1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemID2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemQuantity2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemID3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemQuantity3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemID4` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemQuantity4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemID5` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemQuantity5` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemID6` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardChoiceItemQuantity6` smallint(5) unsigned NOT NULL DEFAULT 0,
- `POIContinent` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `StartItem` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Flags` INT unsigned NOT NULL DEFAULT 0,
+ `RequiredPlayerKills` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RewardItem1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardAmount1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardItem2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardAmount2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardItem3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardAmount3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardItem4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardAmount4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `ItemDrop1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemDropQuantity1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `ItemDrop2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemDropQuantity2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `ItemDrop3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemDropQuantity3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `ItemDrop4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ItemDropQuantity4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemID1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemQuantity1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemID2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemQuantity2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemID3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemQuantity3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemID4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemQuantity4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemID5` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemQuantity5` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemID6` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardChoiceItemQuantity6` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `POIContinent` SMALLINT unsigned NOT NULL DEFAULT 0,
`POIx` float NOT NULL DEFAULT 0,
`POIy` float NOT NULL DEFAULT 0,
- `POIPriority` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardTitle` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RewardTalents` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `RewardArenaPoints` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RewardFactionID1` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
- `RewardFactionValue1` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionOverride1` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionID2` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
- `RewardFactionValue2` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionOverride2` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionID3` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
- `RewardFactionValue3` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionOverride3` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionID4` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
- `RewardFactionValue4` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionOverride4` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionID5` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
- `RewardFactionValue5` mediumint(8) NOT NULL DEFAULT 0,
- `RewardFactionOverride5` mediumint(8) NOT NULL DEFAULT 0,
- `TimeAllowed` int(10) unsigned NOT NULL DEFAULT 0,
- `AllowableRaces` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `POIPriority` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardTitle` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RewardTalents` TINYINT unsigned NOT NULL DEFAULT 0,
+ `RewardArenaPoints` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RewardFactionID1` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
+ `RewardFactionValue1` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionOverride1` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionID2` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
+ `RewardFactionValue2` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionOverride2` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionID3` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
+ `RewardFactionValue3` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionOverride3` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionID4` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
+ `RewardFactionValue4` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionOverride4` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionID5` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case',
+ `RewardFactionValue5` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardFactionOverride5` MEDIUMINT NOT NULL DEFAULT 0,
+ `TimeAllowed` INT unsigned NOT NULL DEFAULT 0,
+ `AllowableRaces` SMALLINT unsigned NOT NULL DEFAULT 0,
`LogTitle` text DEFAULT NULL,
`LogDescription` text DEFAULT NULL,
`QuestDescription` text DEFAULT NULL,
`AreaDescription` text DEFAULT NULL,
`QuestCompletionLog` text DEFAULT NULL,
- `RequiredNpcOrGo1` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredNpcOrGo2` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredNpcOrGo3` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredNpcOrGo4` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredNpcOrGoCount1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredNpcOrGoCount2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredNpcOrGoCount3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredNpcOrGoCount4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredItemId1` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredItemId2` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredItemId3` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredItemId4` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredItemId5` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredItemId6` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RequiredItemCount1` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredItemCount2` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredItemCount3` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredItemCount4` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredItemCount5` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredItemCount6` smallint(5) unsigned NOT NULL DEFAULT 0,
- `Unknown0` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `RequiredNpcOrGo1` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredNpcOrGo2` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredNpcOrGo3` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredNpcOrGo4` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredNpcOrGoCount1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredNpcOrGoCount2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredNpcOrGoCount3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredNpcOrGoCount4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemId1` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemId2` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemId3` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemId4` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemId5` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemId6` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemCount1` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemCount2` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemCount3` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemCount4` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemCount5` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredItemCount6` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `Unknown0` TINYINT unsigned NOT NULL DEFAULT 0,
`ObjectiveText1` text DEFAULT NULL,
`ObjectiveText2` text DEFAULT NULL,
`ObjectiveText3` text DEFAULT NULL,
`ObjectiveText4` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Quest System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_template` WRITE;
diff --git a/data/sql/base/db_world/quest_template_addon.sql b/data/sql/base/db_world/quest_template_addon.sql
index ac22f01653..149dc0822d 100644
--- a/data/sql/base/db_world/quest_template_addon.sql
+++ b/data/sql/base/db_world/quest_template_addon.sql
@@ -6,28 +6,28 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_template_addon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_template_addon`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `AllowableClasses` int(10) unsigned NOT NULL DEFAULT 0,
- `SourceSpellID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `PrevQuestID` mediumint(8) NOT NULL DEFAULT 0,
- `NextQuestID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `ExclusiveGroup` mediumint(8) NOT NULL DEFAULT 0,
- `RewardMailTemplateID` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `RewardMailDelay` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiredSkillID` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredSkillPoints` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredMinRepFaction` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredMaxRepFaction` smallint(5) unsigned NOT NULL DEFAULT 0,
- `RequiredMinRepValue` mediumint(8) NOT NULL DEFAULT 0,
- `RequiredMaxRepValue` mediumint(8) NOT NULL DEFAULT 0,
- `ProvidedItemCount` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `SpecialFlags` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `MaxLevel` TINYINT unsigned NOT NULL DEFAULT 0,
+ `AllowableClasses` INT unsigned NOT NULL DEFAULT 0,
+ `SourceSpellID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `PrevQuestID` MEDIUMINT NOT NULL DEFAULT 0,
+ `NextQuestID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `ExclusiveGroup` MEDIUMINT NOT NULL DEFAULT 0,
+ `RewardMailTemplateID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `RewardMailDelay` INT unsigned NOT NULL DEFAULT 0,
+ `RequiredSkillID` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredSkillPoints` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredMinRepFaction` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredMaxRepFaction` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `RequiredMinRepValue` MEDIUMINT NOT NULL DEFAULT 0,
+ `RequiredMaxRepValue` MEDIUMINT NOT NULL DEFAULT 0,
+ `ProvidedItemCount` TINYINT unsigned NOT NULL DEFAULT 0,
+ `SpecialFlags` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_template_addon` WRITE;
diff --git a/data/sql/base/db_world/quest_template_locale.sql b/data/sql/base/db_world/quest_template_locale.sql
index 598791ad3f..ee4a215dbd 100644
--- a/data/sql/base/db_world/quest_template_locale.sql
+++ b/data/sql/base/db_world/quest_template_locale.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `quest_template_locale`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `quest_template_locale`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`locale` varchar(4) NOT NULL,
`Title` text DEFAULT NULL,
`Details` text DEFAULT NULL,
@@ -20,9 +20,9 @@ CREATE TABLE `quest_template_locale`
`ObjectiveText2` text DEFAULT NULL,
`ObjectiveText3` text DEFAULT NULL,
`ObjectiveText4` text DEFAULT NULL,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`locale`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `quest_template_locale` WRITE;
diff --git a/data/sql/base/db_world/questfactionreward_dbc.sql b/data/sql/base/db_world/questfactionreward_dbc.sql
index f1617d638c..cf49a4760e 100644
--- a/data/sql/base/db_world/questfactionreward_dbc.sql
+++ b/data/sql/base/db_world/questfactionreward_dbc.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `questfactionreward_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `questfactionreward_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Difficulty_1` int(11) NOT NULL DEFAULT 0,
- `Difficulty_2` int(11) NOT NULL DEFAULT 0,
- `Difficulty_3` int(11) NOT NULL DEFAULT 0,
- `Difficulty_4` int(11) NOT NULL DEFAULT 0,
- `Difficulty_5` int(11) NOT NULL DEFAULT 0,
- `Difficulty_6` int(11) NOT NULL DEFAULT 0,
- `Difficulty_7` int(11) NOT NULL DEFAULT 0,
- `Difficulty_8` int(11) NOT NULL DEFAULT 0,
- `Difficulty_9` int(11) NOT NULL DEFAULT 0,
- `Difficulty_10` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Difficulty_1` INT NOT NULL DEFAULT 0,
+ `Difficulty_2` INT NOT NULL DEFAULT 0,
+ `Difficulty_3` INT NOT NULL DEFAULT 0,
+ `Difficulty_4` INT NOT NULL DEFAULT 0,
+ `Difficulty_5` INT NOT NULL DEFAULT 0,
+ `Difficulty_6` INT NOT NULL DEFAULT 0,
+ `Difficulty_7` INT NOT NULL DEFAULT 0,
+ `Difficulty_8` INT NOT NULL DEFAULT 0,
+ `Difficulty_9` INT NOT NULL DEFAULT 0,
+ `Difficulty_10` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `questfactionreward_dbc` WRITE;
diff --git a/data/sql/base/db_world/questsort_dbc.sql b/data/sql/base/db_world/questsort_dbc.sql
index fc6529145d..133c22856a 100644
--- a/data/sql/base/db_world/questsort_dbc.sql
+++ b/data/sql/base/db_world/questsort_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `questsort_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `questsort_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`SortName_Lang_enUS` varchar(100) DEFAULT NULL,
`SortName_Lang_enGB` varchar(100) DEFAULT NULL,
`SortName_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,9 +26,9 @@ CREATE TABLE `questsort_dbc`
`SortName_Lang_ptBR` varchar(100) DEFAULT NULL,
`SortName_Lang_itIT` varchar(100) DEFAULT NULL,
`SortName_Lang_Unk` varchar(100) DEFAULT NULL,
- `SortName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `SortName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `questsort_dbc` WRITE;
diff --git a/data/sql/base/db_world/questxp_dbc.sql b/data/sql/base/db_world/questxp_dbc.sql
index eb33ce0238..450a8d30c2 100644
--- a/data/sql/base/db_world/questxp_dbc.sql
+++ b/data/sql/base/db_world/questxp_dbc.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `questxp_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `questxp_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Difficulty_1` int(11) NOT NULL DEFAULT 0,
- `Difficulty_2` int(11) NOT NULL DEFAULT 0,
- `Difficulty_3` int(11) NOT NULL DEFAULT 0,
- `Difficulty_4` int(11) NOT NULL DEFAULT 0,
- `Difficulty_5` int(11) NOT NULL DEFAULT 0,
- `Difficulty_6` int(11) NOT NULL DEFAULT 0,
- `Difficulty_7` int(11) NOT NULL DEFAULT 0,
- `Difficulty_8` int(11) NOT NULL DEFAULT 0,
- `Difficulty_9` int(11) NOT NULL DEFAULT 0,
- `Difficulty_10` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Difficulty_1` INT NOT NULL DEFAULT 0,
+ `Difficulty_2` INT NOT NULL DEFAULT 0,
+ `Difficulty_3` INT NOT NULL DEFAULT 0,
+ `Difficulty_4` INT NOT NULL DEFAULT 0,
+ `Difficulty_5` INT NOT NULL DEFAULT 0,
+ `Difficulty_6` INT NOT NULL DEFAULT 0,
+ `Difficulty_7` INT NOT NULL DEFAULT 0,
+ `Difficulty_8` INT NOT NULL DEFAULT 0,
+ `Difficulty_9` INT NOT NULL DEFAULT 0,
+ `Difficulty_10` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `questxp_dbc` WRITE;
diff --git a/data/sql/base/db_world/randproppoints_dbc.sql b/data/sql/base/db_world/randproppoints_dbc.sql
index d8c868ad6c..1062922212 100644
--- a/data/sql/base/db_world/randproppoints_dbc.sql
+++ b/data/sql/base/db_world/randproppoints_dbc.sql
@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `randproppoints_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `randproppoints_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Epic_1` int(11) NOT NULL DEFAULT 0,
- `Epic_2` int(11) NOT NULL DEFAULT 0,
- `Epic_3` int(11) NOT NULL DEFAULT 0,
- `Epic_4` int(11) NOT NULL DEFAULT 0,
- `Epic_5` int(11) NOT NULL DEFAULT 0,
- `Superior_1` int(11) NOT NULL DEFAULT 0,
- `Superior_2` int(11) NOT NULL DEFAULT 0,
- `Superior_3` int(11) NOT NULL DEFAULT 0,
- `Superior_4` int(11) NOT NULL DEFAULT 0,
- `Superior_5` int(11) NOT NULL DEFAULT 0,
- `Good_1` int(11) NOT NULL DEFAULT 0,
- `Good_2` int(11) NOT NULL DEFAULT 0,
- `Good_3` int(11) NOT NULL DEFAULT 0,
- `Good_4` int(11) NOT NULL DEFAULT 0,
- `Good_5` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Epic_1` INT NOT NULL DEFAULT 0,
+ `Epic_2` INT NOT NULL DEFAULT 0,
+ `Epic_3` INT NOT NULL DEFAULT 0,
+ `Epic_4` INT NOT NULL DEFAULT 0,
+ `Epic_5` INT NOT NULL DEFAULT 0,
+ `Superior_1` INT NOT NULL DEFAULT 0,
+ `Superior_2` INT NOT NULL DEFAULT 0,
+ `Superior_3` INT NOT NULL DEFAULT 0,
+ `Superior_4` INT NOT NULL DEFAULT 0,
+ `Superior_5` INT NOT NULL DEFAULT 0,
+ `Good_1` INT NOT NULL DEFAULT 0,
+ `Good_2` INT NOT NULL DEFAULT 0,
+ `Good_3` INT NOT NULL DEFAULT 0,
+ `Good_4` INT NOT NULL DEFAULT 0,
+ `Good_5` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `randproppoints_dbc` WRITE;
diff --git a/data/sql/base/db_world/reference_loot_template.sql b/data/sql/base/db_world/reference_loot_template.sql
index 4a1fac8a43..ba3cbe5699 100644
--- a/data/sql/base/db_world/reference_loot_template.sql
+++ b/data/sql/base/db_world/reference_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `reference_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `reference_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `reference_loot_template` WRITE;
diff --git a/data/sql/base/db_world/reputation_reward_rate.sql b/data/sql/base/db_world/reputation_reward_rate.sql
index 1cc4730cec..36a9bb6d5d 100644
--- a/data/sql/base/db_world/reputation_reward_rate.sql
+++ b/data/sql/base/db_world/reputation_reward_rate.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `reputation_reward_rate`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `reputation_reward_rate`
(
- `faction` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `faction` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`quest_rate` float NOT NULL DEFAULT 1,
`quest_daily_rate` float NOT NULL DEFAULT 1,
`quest_weekly_rate` float NOT NULL DEFAULT 1,
@@ -18,7 +18,7 @@ CREATE TABLE `reputation_reward_rate`
`creature_rate` float NOT NULL DEFAULT 1,
`spell_rate` float NOT NULL DEFAULT 1,
PRIMARY KEY (`faction`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `reputation_reward_rate` WRITE;
diff --git a/data/sql/base/db_world/reputation_spillover_template.sql b/data/sql/base/db_world/reputation_spillover_template.sql
index dc7065f5da..24720960b5 100644
--- a/data/sql/base/db_world/reputation_spillover_template.sql
+++ b/data/sql/base/db_world/reputation_spillover_template.sql
@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `reputation_spillover_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `reputation_spillover_template`
(
- `faction` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction entry',
- `faction1` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'faction to give spillover for',
+ `faction` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction entry',
+ `faction1` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'faction to give spillover for',
`rate_1` float NOT NULL DEFAULT 0 COMMENT 'the given rep points * rate',
- `rank_1` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'max rank,above this will not give any spillover',
- `faction2` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `rank_1` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'max rank,above this will not give any spillover',
+ `faction2` SMALLINT unsigned NOT NULL DEFAULT 0,
`rate_2` float NOT NULL DEFAULT 0,
- `rank_2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `faction3` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `rank_2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `faction3` SMALLINT unsigned NOT NULL DEFAULT 0,
`rate_3` float NOT NULL DEFAULT 0,
- `rank_3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `faction4` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `rank_3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `faction4` SMALLINT unsigned NOT NULL DEFAULT 0,
`rate_4` float NOT NULL DEFAULT 0,
- `rank_4` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `rank_4` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`faction`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `reputation_spillover_template` WRITE;
diff --git a/data/sql/base/db_world/scalingstatdistribution_dbc.sql b/data/sql/base/db_world/scalingstatdistribution_dbc.sql
index 8f25e391e7..4bc67252d4 100644
--- a/data/sql/base/db_world/scalingstatdistribution_dbc.sql
+++ b/data/sql/base/db_world/scalingstatdistribution_dbc.sql
@@ -6,33 +6,33 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `scalingstatdistribution_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `scalingstatdistribution_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `StatID_1` int(11) NOT NULL DEFAULT 0,
- `StatID_2` int(11) NOT NULL DEFAULT 0,
- `StatID_3` int(11) NOT NULL DEFAULT 0,
- `StatID_4` int(11) NOT NULL DEFAULT 0,
- `StatID_5` int(11) NOT NULL DEFAULT 0,
- `StatID_6` int(11) NOT NULL DEFAULT 0,
- `StatID_7` int(11) NOT NULL DEFAULT 0,
- `StatID_8` int(11) NOT NULL DEFAULT 0,
- `StatID_9` int(11) NOT NULL DEFAULT 0,
- `StatID_10` int(11) NOT NULL DEFAULT 0,
- `Bonus_1` int(11) NOT NULL DEFAULT 0,
- `Bonus_2` int(11) NOT NULL DEFAULT 0,
- `Bonus_3` int(11) NOT NULL DEFAULT 0,
- `Bonus_4` int(11) NOT NULL DEFAULT 0,
- `Bonus_5` int(11) NOT NULL DEFAULT 0,
- `Bonus_6` int(11) NOT NULL DEFAULT 0,
- `Bonus_7` int(11) NOT NULL DEFAULT 0,
- `Bonus_8` int(11) NOT NULL DEFAULT 0,
- `Bonus_9` int(11) NOT NULL DEFAULT 0,
- `Bonus_10` int(11) NOT NULL DEFAULT 0,
- `Maxlevel` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `StatID_1` INT NOT NULL DEFAULT 0,
+ `StatID_2` INT NOT NULL DEFAULT 0,
+ `StatID_3` INT NOT NULL DEFAULT 0,
+ `StatID_4` INT NOT NULL DEFAULT 0,
+ `StatID_5` INT NOT NULL DEFAULT 0,
+ `StatID_6` INT NOT NULL DEFAULT 0,
+ `StatID_7` INT NOT NULL DEFAULT 0,
+ `StatID_8` INT NOT NULL DEFAULT 0,
+ `StatID_9` INT NOT NULL DEFAULT 0,
+ `StatID_10` INT NOT NULL DEFAULT 0,
+ `Bonus_1` INT NOT NULL DEFAULT 0,
+ `Bonus_2` INT NOT NULL DEFAULT 0,
+ `Bonus_3` INT NOT NULL DEFAULT 0,
+ `Bonus_4` INT NOT NULL DEFAULT 0,
+ `Bonus_5` INT NOT NULL DEFAULT 0,
+ `Bonus_6` INT NOT NULL DEFAULT 0,
+ `Bonus_7` INT NOT NULL DEFAULT 0,
+ `Bonus_8` INT NOT NULL DEFAULT 0,
+ `Bonus_9` INT NOT NULL DEFAULT 0,
+ `Bonus_10` INT NOT NULL DEFAULT 0,
+ `Maxlevel` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `scalingstatdistribution_dbc` WRITE;
diff --git a/data/sql/base/db_world/scalingstatvalues_dbc.sql b/data/sql/base/db_world/scalingstatvalues_dbc.sql
index c07cc2cbe7..4bc72d2343 100644
--- a/data/sql/base/db_world/scalingstatvalues_dbc.sql
+++ b/data/sql/base/db_world/scalingstatvalues_dbc.sql
@@ -6,35 +6,35 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `scalingstatvalues_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `scalingstatvalues_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Charlevel` int(11) NOT NULL DEFAULT 0,
- `ShoulderBudget` int(11) NOT NULL DEFAULT 0,
- `TrinketBudget` int(11) NOT NULL DEFAULT 0,
- `WeaponBudget1H` int(11) NOT NULL DEFAULT 0,
- `RangedBudget` int(11) NOT NULL DEFAULT 0,
- `ClothShoulderArmor` int(11) NOT NULL DEFAULT 0,
- `LeatherShoulderArmor` int(11) NOT NULL DEFAULT 0,
- `MailShoulderArmor` int(11) NOT NULL DEFAULT 0,
- `PlateShoulderArmor` int(11) NOT NULL DEFAULT 0,
- `WeaponDPS1H` int(11) NOT NULL DEFAULT 0,
- `WeaponDPS2H` int(11) NOT NULL DEFAULT 0,
- `SpellcasterDPS1H` int(11) NOT NULL DEFAULT 0,
- `SpellcasterDPS2H` int(11) NOT NULL DEFAULT 0,
- `RangedDPS` int(11) NOT NULL DEFAULT 0,
- `WandDPS` int(11) NOT NULL DEFAULT 0,
- `SpellPower` int(11) NOT NULL DEFAULT 0,
- `PrimaryBudget` int(11) NOT NULL DEFAULT 0,
- `TertiaryBudget` int(11) NOT NULL DEFAULT 0,
- `ClothCloakArmor` int(11) NOT NULL DEFAULT 0,
- `ClothChestArmor` int(11) NOT NULL DEFAULT 0,
- `LeatherChestArmor` int(11) NOT NULL DEFAULT 0,
- `MailChestArmor` int(11) NOT NULL DEFAULT 0,
- `PlateChestArmor` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Charlevel` INT NOT NULL DEFAULT 0,
+ `ShoulderBudget` INT NOT NULL DEFAULT 0,
+ `TrinketBudget` INT NOT NULL DEFAULT 0,
+ `WeaponBudget1H` INT NOT NULL DEFAULT 0,
+ `RangedBudget` INT NOT NULL DEFAULT 0,
+ `ClothShoulderArmor` INT NOT NULL DEFAULT 0,
+ `LeatherShoulderArmor` INT NOT NULL DEFAULT 0,
+ `MailShoulderArmor` INT NOT NULL DEFAULT 0,
+ `PlateShoulderArmor` INT NOT NULL DEFAULT 0,
+ `WeaponDPS1H` INT NOT NULL DEFAULT 0,
+ `WeaponDPS2H` INT NOT NULL DEFAULT 0,
+ `SpellcasterDPS1H` INT NOT NULL DEFAULT 0,
+ `SpellcasterDPS2H` INT NOT NULL DEFAULT 0,
+ `RangedDPS` INT NOT NULL DEFAULT 0,
+ `WandDPS` INT NOT NULL DEFAULT 0,
+ `SpellPower` INT NOT NULL DEFAULT 0,
+ `PrimaryBudget` INT NOT NULL DEFAULT 0,
+ `TertiaryBudget` INT NOT NULL DEFAULT 0,
+ `ClothCloakArmor` INT NOT NULL DEFAULT 0,
+ `ClothChestArmor` INT NOT NULL DEFAULT 0,
+ `LeatherChestArmor` INT NOT NULL DEFAULT 0,
+ `MailChestArmor` INT NOT NULL DEFAULT 0,
+ `PlateChestArmor` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `scalingstatvalues_dbc` WRITE;
diff --git a/data/sql/base/db_world/script_waypoint.sql b/data/sql/base/db_world/script_waypoint.sql
index f30d894a69..68970c8da9 100644
--- a/data/sql/base/db_world/script_waypoint.sql
+++ b/data/sql/base/db_world/script_waypoint.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `script_waypoint`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `script_waypoint`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'creature_template entry',
- `pointid` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'creature_template entry',
+ `pointid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`location_x` float NOT NULL DEFAULT 0,
`location_y` float NOT NULL DEFAULT 0,
`location_z` float NOT NULL DEFAULT 0,
- `waittime` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'waittime in millisecs',
+ `waittime` INT unsigned NOT NULL DEFAULT 0 COMMENT 'waittime in millisecs',
`point_comment` text DEFAULT NULL,
PRIMARY KEY (`entry`,`pointid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `script_waypoint` WRITE;
diff --git a/data/sql/base/db_world/skill_discovery_template.sql b/data/sql/base/db_world/skill_discovery_template.sql
index edf2432186..033a3341cc 100644
--- a/data/sql/base/db_world/skill_discovery_template.sql
+++ b/data/sql/base/db_world/skill_discovery_template.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skill_discovery_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skill_discovery_template`
(
- `spellId` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the discoverable spell',
- `reqSpell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'spell requirement',
- `reqSkillValue` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'skill points requirement',
+ `spellId` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the discoverable spell',
+ `reqSpell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'spell requirement',
+ `reqSkillValue` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'skill points requirement',
`chance` float NOT NULL DEFAULT 0 COMMENT 'chance to discover',
PRIMARY KEY (`spellId`,`reqSpell`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Skill Discovery System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skill_discovery_template` WRITE;
diff --git a/data/sql/base/db_world/skill_extra_item_template.sql b/data/sql/base/db_world/skill_extra_item_template.sql
index f879dfd5bf..f2d9840292 100644
--- a/data/sql/base/db_world/skill_extra_item_template.sql
+++ b/data/sql/base/db_world/skill_extra_item_template.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skill_extra_item_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skill_extra_item_template`
(
- `spellId` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the item creation spell',
- `requiredSpecialization` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Specialization spell id',
+ `spellId` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the item creation spell',
+ `requiredSpecialization` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Specialization spell id',
`additionalCreateChance` float NOT NULL DEFAULT 0 COMMENT 'chance to create add',
- `additionalMaxNum` tinyint(3) NOT NULL DEFAULT 0,
+ `additionalMaxNum` TINYINT NOT NULL DEFAULT 0,
PRIMARY KEY (`spellId`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Specialization System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Skill Specialization System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skill_extra_item_template` WRITE;
diff --git a/data/sql/base/db_world/skill_fishing_base_level.sql b/data/sql/base/db_world/skill_fishing_base_level.sql
index 65fb78a08b..f9c49278fb 100644
--- a/data/sql/base/db_world/skill_fishing_base_level.sql
+++ b/data/sql/base/db_world/skill_fishing_base_level.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skill_fishing_base_level`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skill_fishing_base_level`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Area identifier',
- `skill` smallint(6) NOT NULL DEFAULT 0 COMMENT 'Base skill level requirement',
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Area identifier',
+ `skill` SMALLINT NOT NULL DEFAULT 0 COMMENT 'Base skill level requirement',
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Fishing system';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Fishing system';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skill_fishing_base_level` WRITE;
diff --git a/data/sql/base/db_world/skill_perfect_item_template.sql b/data/sql/base/db_world/skill_perfect_item_template.sql
index 4c748cf1b3..45f1176c5f 100644
--- a/data/sql/base/db_world/skill_perfect_item_template.sql
+++ b/data/sql/base/db_world/skill_perfect_item_template.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skill_perfect_item_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skill_perfect_item_template`
(
- `spellId` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the item creation spell',
- `requiredSpecialization` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Specialization spell id',
+ `spellId` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the item creation spell',
+ `requiredSpecialization` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Specialization spell id',
`perfectCreateChance` float NOT NULL DEFAULT 0 COMMENT 'chance to create the perfect item instead',
- `perfectItemType` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'perfect item type to create instead',
+ `perfectItemType` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'perfect item type to create instead',
PRIMARY KEY (`spellId`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Crafting Perfection System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Crafting Perfection System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skill_perfect_item_template` WRITE;
diff --git a/data/sql/base/db_world/skillline_dbc.sql b/data/sql/base/db_world/skillline_dbc.sql
index 5f76b56497..05742568c4 100644
--- a/data/sql/base/db_world/skillline_dbc.sql
+++ b/data/sql/base/db_world/skillline_dbc.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skillline_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skillline_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `CategoryID` int(11) NOT NULL DEFAULT 0,
- `SkillCostsID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `CategoryID` INT NOT NULL DEFAULT 0,
+ `SkillCostsID` INT NOT NULL DEFAULT 0,
`DisplayName_Lang_enUS` varchar(100) DEFAULT NULL,
`DisplayName_Lang_enGB` varchar(100) DEFAULT NULL,
`DisplayName_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -28,7 +28,7 @@ CREATE TABLE `skillline_dbc`
`DisplayName_Lang_ptBR` varchar(100) DEFAULT NULL,
`DisplayName_Lang_itIT` varchar(100) DEFAULT NULL,
`DisplayName_Lang_Unk` varchar(100) DEFAULT NULL,
- `DisplayName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `DisplayName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(300) DEFAULT NULL,
`Description_Lang_enGB` varchar(300) DEFAULT NULL,
`Description_Lang_koKR` varchar(300) DEFAULT NULL,
@@ -45,8 +45,8 @@ CREATE TABLE `skillline_dbc`
`Description_Lang_ptBR` varchar(300) DEFAULT NULL,
`Description_Lang_itIT` varchar(300) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellIconID` int(11) NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `SpellIconID` INT NOT NULL DEFAULT 0,
`AlternateVerb_Lang_enUS` varchar(100) DEFAULT NULL,
`AlternateVerb_Lang_enGB` varchar(100) DEFAULT NULL,
`AlternateVerb_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -63,10 +63,10 @@ CREATE TABLE `skillline_dbc`
`AlternateVerb_Lang_ptBR` varchar(100) DEFAULT NULL,
`AlternateVerb_Lang_itIT` varchar(100) DEFAULT NULL,
`AlternateVerb_Lang_Unk` varchar(100) DEFAULT NULL,
- `AlternateVerb_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `CanLink` int(11) NOT NULL DEFAULT 0,
+ `AlternateVerb_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `CanLink` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skillline_dbc` WRITE;
diff --git a/data/sql/base/db_world/skilllineability_dbc.sql b/data/sql/base/db_world/skilllineability_dbc.sql
index 7d9d4f4c7f..03060f16dd 100644
--- a/data/sql/base/db_world/skilllineability_dbc.sql
+++ b/data/sql/base/db_world/skilllineability_dbc.sql
@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skilllineability_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skilllineability_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `SkillLine` int(11) NOT NULL DEFAULT 0,
- `Spell` int(11) NOT NULL DEFAULT 0,
- `RaceMask` int(11) NOT NULL DEFAULT 0,
- `ClassMask` int(11) NOT NULL DEFAULT 0,
- `MinSkillLineRank` int(11) NOT NULL DEFAULT 0,
- `SupercededBySpell` int(11) NOT NULL DEFAULT 0,
- `AcquireMethod` int(11) NOT NULL DEFAULT 0,
- `TrivialSkillLineRankHigh` int(11) NOT NULL DEFAULT 0,
- `TrivialSkillLineRankLow` int(11) NOT NULL DEFAULT 0,
- `CharacterPoints_1` int(11) NOT NULL DEFAULT 0,
- `CharacterPoints_2` int(11) NOT NULL DEFAULT 0,
- `TradeSkillCategoryID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `SkillLine` INT NOT NULL DEFAULT 0,
+ `Spell` INT NOT NULL DEFAULT 0,
+ `RaceMask` INT NOT NULL DEFAULT 0,
+ `ClassMask` INT NOT NULL DEFAULT 0,
+ `MinSkillLineRank` INT NOT NULL DEFAULT 0,
+ `SupercededBySpell` INT NOT NULL DEFAULT 0,
+ `AcquireMethod` INT NOT NULL DEFAULT 0,
+ `TrivialSkillLineRankHigh` INT NOT NULL DEFAULT 0,
+ `TrivialSkillLineRankLow` INT NOT NULL DEFAULT 0,
+ `CharacterPoints_1` INT NOT NULL DEFAULT 0,
+ `CharacterPoints_2` INT NOT NULL DEFAULT 0,
+ `TradeSkillCategoryID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skilllineability_dbc` WRITE;
diff --git a/data/sql/base/db_world/skinning_loot_template.sql b/data/sql/base/db_world/skinning_loot_template.sql
index 4898a5fb91..85adb8a149 100644
--- a/data/sql/base/db_world/skinning_loot_template.sql
+++ b/data/sql/base/db_world/skinning_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `skinning_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `skinning_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `skinning_loot_template` WRITE;
diff --git a/data/sql/base/db_world/smart_scripts.sql b/data/sql/base/db_world/smart_scripts.sql
index 54b791ded9..38e47c9815 100644
--- a/data/sql/base/db_world/smart_scripts.sql
+++ b/data/sql/base/db_world/smart_scripts.sql
@@ -6,41 +6,41 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `smart_scripts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `smart_scripts`
(
- `entryorguid` int(11) NOT NULL,
- `source_type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `id` smallint(5) unsigned NOT NULL DEFAULT 0,
- `link` smallint(5) unsigned NOT NULL DEFAULT 0,
- `event_type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `event_phase_mask` smallint(5) unsigned NOT NULL DEFAULT 0,
- `event_chance` tinyint(3) unsigned NOT NULL DEFAULT 100,
- `event_flags` smallint(5) unsigned NOT NULL DEFAULT 0,
- `event_param1` int(10) unsigned NOT NULL DEFAULT 0,
- `event_param2` int(10) unsigned NOT NULL DEFAULT 0,
- `event_param3` int(10) unsigned NOT NULL DEFAULT 0,
- `event_param4` int(10) unsigned NOT NULL DEFAULT 0,
- `event_param5` int(10) unsigned NOT NULL DEFAULT 0,
- `action_type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `action_param1` int(10) unsigned NOT NULL DEFAULT 0,
- `action_param2` int(10) unsigned NOT NULL DEFAULT 0,
- `action_param3` int(10) unsigned NOT NULL DEFAULT 0,
- `action_param4` int(10) unsigned NOT NULL DEFAULT 0,
- `action_param5` int(10) unsigned NOT NULL DEFAULT 0,
- `action_param6` int(10) unsigned NOT NULL DEFAULT 0,
- `target_type` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `target_param1` int(10) unsigned NOT NULL DEFAULT 0,
- `target_param2` int(10) unsigned NOT NULL DEFAULT 0,
- `target_param3` int(10) unsigned NOT NULL DEFAULT 0,
- `target_param4` int(10) unsigned NOT NULL DEFAULT 0,
+ `entryorguid` INT NOT NULL,
+ `source_type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `id` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `link` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `event_type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `event_phase_mask` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `event_chance` TINYINT unsigned NOT NULL DEFAULT 100,
+ `event_flags` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `event_param1` INT unsigned NOT NULL DEFAULT 0,
+ `event_param2` INT unsigned NOT NULL DEFAULT 0,
+ `event_param3` INT unsigned NOT NULL DEFAULT 0,
+ `event_param4` INT unsigned NOT NULL DEFAULT 0,
+ `event_param5` INT unsigned NOT NULL DEFAULT 0,
+ `action_type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `action_param1` INT unsigned NOT NULL DEFAULT 0,
+ `action_param2` INT unsigned NOT NULL DEFAULT 0,
+ `action_param3` INT unsigned NOT NULL DEFAULT 0,
+ `action_param4` INT unsigned NOT NULL DEFAULT 0,
+ `action_param5` INT unsigned NOT NULL DEFAULT 0,
+ `action_param6` INT unsigned NOT NULL DEFAULT 0,
+ `target_type` TINYINT unsigned NOT NULL DEFAULT 0,
+ `target_param1` INT unsigned NOT NULL DEFAULT 0,
+ `target_param2` INT unsigned NOT NULL DEFAULT 0,
+ `target_param3` INT unsigned NOT NULL DEFAULT 0,
+ `target_param4` INT unsigned NOT NULL DEFAULT 0,
`target_x` float NOT NULL DEFAULT 0,
`target_y` float NOT NULL DEFAULT 0,
`target_z` float NOT NULL DEFAULT 0,
`target_o` float NOT NULL DEFAULT 0,
`comment` text NOT NULL COMMENT 'Event Comment',
PRIMARY KEY (`entryorguid`,`source_type`,`id`,`link`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `smart_scripts` WRITE;
@@ -41398,7 +41398,7 @@ INSERT INTO `smart_scripts` VALUES
(3039600,9,0,0,0,0,100,0,2000,2000,0,0,0,11,56677,0,0,0,0,0,19,30399,30,0,0,0,0,0,0,'Loken - On Script - Cast \'Loken\'s Knockback\''),
(3039600,9,1,0,0,0,100,0,3000,3000,0,0,0,97,40,20,0,0,0,0,1,0,0,0,0,8611.14,-627.65,926.204,0,'Loken - On Script - Jump To Pos'),
(3039600,9,2,0,0,0,100,0,2000,2000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Loken - On Script - Say Line 1'),
-(3039600,9,3,0,0,0,100,0,1000,1000,0,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Loken - On Script - Play emote \'ONESHOT_POINT(DNR)\''),
+(3039600,9,3,0,0,0,100,0,1000,1000,0,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Loken - On Script - Play emote \'ONESHOT_POINT\''),
(3039600,9,4,0,0,0,100,0,6000,6000,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Loken - On Script - Set Home Position'),
(3039600,9,5,0,0,0,100,0,10500,10500,0,0,0,11,10689,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Loken - On Script - Cast \'Knockback\''),
(3039600,9,6,0,0,0,100,0,3000,3000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Loken - On Script - Say Line 2'),
diff --git a/data/sql/base/db_world/soundentries_dbc.sql b/data/sql/base/db_world/soundentries_dbc.sql
index a215b36557..137e8ce68c 100644
--- a/data/sql/base/db_world/soundentries_dbc.sql
+++ b/data/sql/base/db_world/soundentries_dbc.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `soundentries_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `soundentries_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `SoundType` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `SoundType` INT NOT NULL DEFAULT 0,
`Name` varchar(100) DEFAULT NULL,
`File_1` varchar(100) DEFAULT NULL,
`File_2` varchar(100) DEFAULT NULL,
@@ -22,25 +22,25 @@ CREATE TABLE `soundentries_dbc`
`File_8` varchar(100) DEFAULT NULL,
`File_9` varchar(100) DEFAULT NULL,
`File_10` varchar(100) DEFAULT NULL,
- `Freq_1` int(11) NOT NULL DEFAULT 0,
- `Freq_2` int(11) NOT NULL DEFAULT 0,
- `Freq_3` int(11) NOT NULL DEFAULT 0,
- `Freq_4` int(11) NOT NULL DEFAULT 0,
- `Freq_5` int(11) NOT NULL DEFAULT 0,
- `Freq_6` int(11) NOT NULL DEFAULT 0,
- `Freq_7` int(11) NOT NULL DEFAULT 0,
- `Freq_8` int(11) NOT NULL DEFAULT 0,
- `Freq_9` int(11) NOT NULL DEFAULT 0,
- `Freq_10` int(11) NOT NULL DEFAULT 0,
+ `Freq_1` INT NOT NULL DEFAULT 0,
+ `Freq_2` INT NOT NULL DEFAULT 0,
+ `Freq_3` INT NOT NULL DEFAULT 0,
+ `Freq_4` INT NOT NULL DEFAULT 0,
+ `Freq_5` INT NOT NULL DEFAULT 0,
+ `Freq_6` INT NOT NULL DEFAULT 0,
+ `Freq_7` INT NOT NULL DEFAULT 0,
+ `Freq_8` INT NOT NULL DEFAULT 0,
+ `Freq_9` INT NOT NULL DEFAULT 0,
+ `Freq_10` INT NOT NULL DEFAULT 0,
`DirectoryBase` varchar(100) DEFAULT NULL,
`Volumefloat` float NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
`MinDistance` float NOT NULL DEFAULT 0,
`DistanceCutoff` float NOT NULL DEFAULT 0,
- `EAXDef` int(11) NOT NULL DEFAULT 0,
- `SoundEntriesAdvancedID` int(11) NOT NULL DEFAULT 0,
+ `EAXDef` INT NOT NULL DEFAULT 0,
+ `SoundEntriesAdvancedID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `soundentries_dbc` WRITE;
diff --git a/data/sql/base/db_world/spell_area.sql b/data/sql/base/db_world/spell_area.sql
index ca3cfeeb2d..2c1054941c 100644
--- a/data/sql/base/db_world/spell_area.sql
+++ b/data/sql/base/db_world/spell_area.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_area`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_area`
(
- `spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `area` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest_start` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `quest_end` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `aura_spell` mediumint(8) NOT NULL DEFAULT 0,
- `racemask` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `gender` tinyint(3) unsigned NOT NULL DEFAULT 2,
- `autocast` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `quest_start_status` int(11) NOT NULL DEFAULT 64,
- `quest_end_status` int(11) NOT NULL DEFAULT 11,
+ `spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `area` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest_start` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `quest_end` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `aura_spell` MEDIUMINT NOT NULL DEFAULT 0,
+ `racemask` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `gender` TINYINT unsigned NOT NULL DEFAULT 2,
+ `autocast` TINYINT unsigned NOT NULL DEFAULT 0,
+ `quest_start_status` INT NOT NULL DEFAULT 64,
+ `quest_end_status` INT NOT NULL DEFAULT 11,
PRIMARY KEY (`spell`,`area`,`quest_start`,`aura_spell`,`racemask`,`gender`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_area` WRITE;
diff --git a/data/sql/base/db_world/spell_bonus_data.sql b/data/sql/base/db_world/spell_bonus_data.sql
index b0f736205a..28ab2cf7d7 100644
--- a/data/sql/base/db_world/spell_bonus_data.sql
+++ b/data/sql/base/db_world/spell_bonus_data.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_bonus_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_bonus_data`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`direct_bonus` float NOT NULL DEFAULT 0,
`dot_bonus` float NOT NULL DEFAULT 0,
`ap_bonus` float NOT NULL DEFAULT 0,
`ap_dot_bonus` float NOT NULL DEFAULT 0,
`comments` varchar(255) DEFAULT NULL,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_bonus_data` WRITE;
diff --git a/data/sql/base/db_world/spell_custom_attr.sql b/data/sql/base/db_world/spell_custom_attr.sql
index f436ce7758..2223a06f00 100644
--- a/data/sql/base/db_world/spell_custom_attr.sql
+++ b/data/sql/base/db_world/spell_custom_attr.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_custom_attr`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_custom_attr`
(
- `spell_id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'spell id',
- `attributes` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'SpellCustomAttributes',
+ `spell_id` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'spell id',
+ `attributes` INT unsigned NOT NULL DEFAULT 0 COMMENT 'SpellCustomAttributes',
PRIMARY KEY (`spell_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='SpellInfo custom attributes';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='SpellInfo custom attributes';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_custom_attr` WRITE;
diff --git a/data/sql/base/db_world/spell_dbc.sql b/data/sql/base/db_world/spell_dbc.sql
index c18fbb1704..747d48cd1c 100644
--- a/data/sql/base/db_world/spell_dbc.sql
+++ b/data/sql/base/db_world/spell_dbc.sql
@@ -6,145 +6,145 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Category` int(10) unsigned NOT NULL DEFAULT 0,
- `DispelType` int(10) unsigned NOT NULL DEFAULT 0,
- `Mechanic` int(10) unsigned NOT NULL DEFAULT 0,
- `Attributes` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesEx` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesExB` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesExC` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesExD` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesExE` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesExF` int(10) unsigned NOT NULL DEFAULT 0,
- `AttributesExG` int(10) unsigned NOT NULL DEFAULT 0,
- `ShapeshiftMask` bigint(20) unsigned NOT NULL DEFAULT 0,
- `unk_320_2` int(10) NOT NULL DEFAULT 0,
- `ShapeshiftExclude` bigint(20) unsigned NOT NULL DEFAULT 0,
- `unk_320_3` int(10) NOT NULL DEFAULT 0,
- `Targets` int(10) unsigned NOT NULL DEFAULT 0,
- `TargetCreatureType` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiresSpellFocus` int(10) unsigned NOT NULL DEFAULT 0,
- `FacingCasterFlags` int(10) unsigned NOT NULL DEFAULT 0,
- `CasterAuraState` int(10) unsigned NOT NULL DEFAULT 0,
- `TargetAuraState` int(10) unsigned NOT NULL DEFAULT 0,
- `ExcludeCasterAuraState` int(10) unsigned NOT NULL DEFAULT 0,
- `ExcludeTargetAuraState` int(10) unsigned NOT NULL DEFAULT 0,
- `CasterAuraSpell` int(10) unsigned NOT NULL DEFAULT 0,
- `TargetAuraSpell` int(10) unsigned NOT NULL DEFAULT 0,
- `ExcludeCasterAuraSpell` int(10) unsigned NOT NULL DEFAULT 0,
- `ExcludeTargetAuraSpell` int(10) unsigned NOT NULL DEFAULT 0,
- `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT 0,
- `RecoveryTime` int(10) unsigned NOT NULL DEFAULT 0,
- `CategoryRecoveryTime` int(10) unsigned NOT NULL DEFAULT 0,
- `InterruptFlags` int(10) unsigned NOT NULL DEFAULT 0,
- `AuraInterruptFlags` int(10) unsigned NOT NULL DEFAULT 0,
- `ChannelInterruptFlags` int(10) unsigned NOT NULL DEFAULT 0,
- `ProcTypeMask` int(10) unsigned NOT NULL DEFAULT 0,
- `ProcChance` int(10) unsigned NOT NULL DEFAULT 0,
- `ProcCharges` int(10) unsigned NOT NULL DEFAULT 0,
- `MaxLevel` int(10) unsigned NOT NULL DEFAULT 0,
- `BaseLevel` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellLevel` int(10) unsigned NOT NULL DEFAULT 0,
- `DurationIndex` int(10) unsigned NOT NULL DEFAULT 0,
- `PowerType` int(11) NOT NULL DEFAULT 0,
- `ManaCost` int(10) unsigned NOT NULL DEFAULT 0,
- `ManaCostPerLevel` int(10) unsigned NOT NULL DEFAULT 0,
- `ManaPerSecond` int(10) unsigned NOT NULL DEFAULT 0,
- `ManaPerSecondPerLevel` int(10) unsigned NOT NULL DEFAULT 0,
- `RangeIndex` int(10) unsigned NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Category` INT unsigned NOT NULL DEFAULT 0,
+ `DispelType` INT unsigned NOT NULL DEFAULT 0,
+ `Mechanic` INT unsigned NOT NULL DEFAULT 0,
+ `Attributes` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesEx` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesExB` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesExC` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesExD` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesExE` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesExF` INT unsigned NOT NULL DEFAULT 0,
+ `AttributesExG` INT unsigned NOT NULL DEFAULT 0,
+ `ShapeshiftMask` BIGINT unsigned NOT NULL DEFAULT 0,
+ `unk_320_2` INT NOT NULL DEFAULT 0,
+ `ShapeshiftExclude` BIGINT unsigned NOT NULL DEFAULT 0,
+ `unk_320_3` INT NOT NULL DEFAULT 0,
+ `Targets` INT unsigned NOT NULL DEFAULT 0,
+ `TargetCreatureType` INT unsigned NOT NULL DEFAULT 0,
+ `RequiresSpellFocus` INT unsigned NOT NULL DEFAULT 0,
+ `FacingCasterFlags` INT unsigned NOT NULL DEFAULT 0,
+ `CasterAuraState` INT unsigned NOT NULL DEFAULT 0,
+ `TargetAuraState` INT unsigned NOT NULL DEFAULT 0,
+ `ExcludeCasterAuraState` INT unsigned NOT NULL DEFAULT 0,
+ `ExcludeTargetAuraState` INT unsigned NOT NULL DEFAULT 0,
+ `CasterAuraSpell` INT unsigned NOT NULL DEFAULT 0,
+ `TargetAuraSpell` INT unsigned NOT NULL DEFAULT 0,
+ `ExcludeCasterAuraSpell` INT unsigned NOT NULL DEFAULT 0,
+ `ExcludeTargetAuraSpell` INT unsigned NOT NULL DEFAULT 0,
+ `CastingTimeIndex` INT unsigned NOT NULL DEFAULT 0,
+ `RecoveryTime` INT unsigned NOT NULL DEFAULT 0,
+ `CategoryRecoveryTime` INT unsigned NOT NULL DEFAULT 0,
+ `InterruptFlags` INT unsigned NOT NULL DEFAULT 0,
+ `AuraInterruptFlags` INT unsigned NOT NULL DEFAULT 0,
+ `ChannelInterruptFlags` INT unsigned NOT NULL DEFAULT 0,
+ `ProcTypeMask` INT unsigned NOT NULL DEFAULT 0,
+ `ProcChance` INT unsigned NOT NULL DEFAULT 0,
+ `ProcCharges` INT unsigned NOT NULL DEFAULT 0,
+ `MaxLevel` INT unsigned NOT NULL DEFAULT 0,
+ `BaseLevel` INT unsigned NOT NULL DEFAULT 0,
+ `SpellLevel` INT unsigned NOT NULL DEFAULT 0,
+ `DurationIndex` INT unsigned NOT NULL DEFAULT 0,
+ `PowerType` INT NOT NULL DEFAULT 0,
+ `ManaCost` INT unsigned NOT NULL DEFAULT 0,
+ `ManaCostPerLevel` INT unsigned NOT NULL DEFAULT 0,
+ `ManaPerSecond` INT unsigned NOT NULL DEFAULT 0,
+ `ManaPerSecondPerLevel` INT unsigned NOT NULL DEFAULT 0,
+ `RangeIndex` INT unsigned NOT NULL DEFAULT 0,
`Speed` float NOT NULL DEFAULT 0,
- `ModalNextSpell` int(10) unsigned NOT NULL DEFAULT 0,
- `CumulativeAura` int(10) unsigned NOT NULL DEFAULT 0,
- `Totem_1` int(10) unsigned NOT NULL DEFAULT 0,
- `Totem_2` int(10) unsigned NOT NULL DEFAULT 0,
- `Reagent_1` int(11) NOT NULL DEFAULT 0,
- `Reagent_2` int(11) NOT NULL DEFAULT 0,
- `Reagent_3` int(11) NOT NULL DEFAULT 0,
- `Reagent_4` int(11) NOT NULL DEFAULT 0,
- `Reagent_5` int(11) NOT NULL DEFAULT 0,
- `Reagent_6` int(11) NOT NULL DEFAULT 0,
- `Reagent_7` int(11) NOT NULL DEFAULT 0,
- `Reagent_8` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_1` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_2` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_3` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_4` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_5` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_6` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_7` int(11) NOT NULL DEFAULT 0,
- `ReagentCount_8` int(11) NOT NULL DEFAULT 0,
- `EquippedItemClass` int(11) NOT NULL DEFAULT 0,
- `EquippedItemSubclass` int(11) NOT NULL DEFAULT 0,
- `EquippedItemInvTypes` int(11) NOT NULL DEFAULT 0,
- `Effect_1` int(10) unsigned NOT NULL DEFAULT 0,
- `Effect_2` int(10) unsigned NOT NULL DEFAULT 0,
- `Effect_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectDieSides_1` int(11) NOT NULL DEFAULT 0,
- `EffectDieSides_2` int(11) NOT NULL DEFAULT 0,
- `EffectDieSides_3` int(11) NOT NULL DEFAULT 0,
+ `ModalNextSpell` INT unsigned NOT NULL DEFAULT 0,
+ `CumulativeAura` INT unsigned NOT NULL DEFAULT 0,
+ `Totem_1` INT unsigned NOT NULL DEFAULT 0,
+ `Totem_2` INT unsigned NOT NULL DEFAULT 0,
+ `Reagent_1` INT NOT NULL DEFAULT 0,
+ `Reagent_2` INT NOT NULL DEFAULT 0,
+ `Reagent_3` INT NOT NULL DEFAULT 0,
+ `Reagent_4` INT NOT NULL DEFAULT 0,
+ `Reagent_5` INT NOT NULL DEFAULT 0,
+ `Reagent_6` INT NOT NULL DEFAULT 0,
+ `Reagent_7` INT NOT NULL DEFAULT 0,
+ `Reagent_8` INT NOT NULL DEFAULT 0,
+ `ReagentCount_1` INT NOT NULL DEFAULT 0,
+ `ReagentCount_2` INT NOT NULL DEFAULT 0,
+ `ReagentCount_3` INT NOT NULL DEFAULT 0,
+ `ReagentCount_4` INT NOT NULL DEFAULT 0,
+ `ReagentCount_5` INT NOT NULL DEFAULT 0,
+ `ReagentCount_6` INT NOT NULL DEFAULT 0,
+ `ReagentCount_7` INT NOT NULL DEFAULT 0,
+ `ReagentCount_8` INT NOT NULL DEFAULT 0,
+ `EquippedItemClass` INT NOT NULL DEFAULT 0,
+ `EquippedItemSubclass` INT NOT NULL DEFAULT 0,
+ `EquippedItemInvTypes` INT NOT NULL DEFAULT 0,
+ `Effect_1` INT unsigned NOT NULL DEFAULT 0,
+ `Effect_2` INT unsigned NOT NULL DEFAULT 0,
+ `Effect_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectDieSides_1` INT NOT NULL DEFAULT 0,
+ `EffectDieSides_2` INT NOT NULL DEFAULT 0,
+ `EffectDieSides_3` INT NOT NULL DEFAULT 0,
`EffectRealPointsPerLevel_1` float NOT NULL DEFAULT 0,
`EffectRealPointsPerLevel_2` float NOT NULL DEFAULT 0,
`EffectRealPointsPerLevel_3` float NOT NULL DEFAULT 0,
- `EffectBasePoints_1` int(11) NOT NULL DEFAULT 0,
- `EffectBasePoints_2` int(11) NOT NULL DEFAULT 0,
- `EffectBasePoints_3` int(11) NOT NULL DEFAULT 0,
- `EffectMechanic_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectMechanic_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectMechanic_3` int(10) unsigned NOT NULL DEFAULT 0,
- `ImplicitTargetA_1` int(10) unsigned NOT NULL DEFAULT 0,
- `ImplicitTargetA_2` int(10) unsigned NOT NULL DEFAULT 0,
- `ImplicitTargetA_3` int(10) unsigned NOT NULL DEFAULT 0,
- `ImplicitTargetB_1` int(10) unsigned NOT NULL DEFAULT 0,
- `ImplicitTargetB_2` int(10) unsigned NOT NULL DEFAULT 0,
- `ImplicitTargetB_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectRadiusIndex_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectRadiusIndex_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectRadiusIndex_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectAura_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectAura_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectAura_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectAuraPeriod_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectAuraPeriod_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectAuraPeriod_3` int(10) unsigned NOT NULL DEFAULT 0,
+ `EffectBasePoints_1` INT NOT NULL DEFAULT 0,
+ `EffectBasePoints_2` INT NOT NULL DEFAULT 0,
+ `EffectBasePoints_3` INT NOT NULL DEFAULT 0,
+ `EffectMechanic_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectMechanic_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectMechanic_3` INT unsigned NOT NULL DEFAULT 0,
+ `ImplicitTargetA_1` INT unsigned NOT NULL DEFAULT 0,
+ `ImplicitTargetA_2` INT unsigned NOT NULL DEFAULT 0,
+ `ImplicitTargetA_3` INT unsigned NOT NULL DEFAULT 0,
+ `ImplicitTargetB_1` INT unsigned NOT NULL DEFAULT 0,
+ `ImplicitTargetB_2` INT unsigned NOT NULL DEFAULT 0,
+ `ImplicitTargetB_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectRadiusIndex_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectRadiusIndex_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectRadiusIndex_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectAura_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectAura_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectAura_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectAuraPeriod_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectAuraPeriod_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectAuraPeriod_3` INT unsigned NOT NULL DEFAULT 0,
`EffectMultipleValue_1` float NOT NULL DEFAULT 0,
`EffectMultipleValue_2` float NOT NULL DEFAULT 0,
`EffectMultipleValue_3` float NOT NULL DEFAULT 0,
- `EffectChainTargets_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectChainTargets_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectChainTargets_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectItemType_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectItemType_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectItemType_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectMiscValue_1` int(11) NOT NULL DEFAULT 0,
- `EffectMiscValue_2` int(11) NOT NULL DEFAULT 0,
- `EffectMiscValue_3` int(11) NOT NULL DEFAULT 0,
- `EffectMiscValueB_1` int(11) NOT NULL DEFAULT 0,
- `EffectMiscValueB_2` int(11) NOT NULL DEFAULT 0,
- `EffectMiscValueB_3` int(11) NOT NULL DEFAULT 0,
- `EffectTriggerSpell_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectTriggerSpell_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectTriggerSpell_3` int(10) unsigned NOT NULL DEFAULT 0,
+ `EffectChainTargets_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectChainTargets_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectChainTargets_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectItemType_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectItemType_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectItemType_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectMiscValue_1` INT NOT NULL DEFAULT 0,
+ `EffectMiscValue_2` INT NOT NULL DEFAULT 0,
+ `EffectMiscValue_3` INT NOT NULL DEFAULT 0,
+ `EffectMiscValueB_1` INT NOT NULL DEFAULT 0,
+ `EffectMiscValueB_2` INT NOT NULL DEFAULT 0,
+ `EffectMiscValueB_3` INT NOT NULL DEFAULT 0,
+ `EffectTriggerSpell_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectTriggerSpell_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectTriggerSpell_3` INT unsigned NOT NULL DEFAULT 0,
`EffectPointsPerCombo_1` float NOT NULL DEFAULT 0,
`EffectPointsPerCombo_2` float NOT NULL DEFAULT 0,
`EffectPointsPerCombo_3` float NOT NULL DEFAULT 0,
- `EffectSpellClassMaskA_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskA_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskA_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskB_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskB_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskB_3` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskC_1` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskC_2` int(10) unsigned NOT NULL DEFAULT 0,
- `EffectSpellClassMaskC_3` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellVisualID_1` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellVisualID_2` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellIconID` int(10) unsigned NOT NULL DEFAULT 0,
- `ActiveIconID` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellPriority` int(10) unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskA_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskA_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskA_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskB_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskB_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskB_3` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskC_1` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskC_2` INT unsigned NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskC_3` INT unsigned NOT NULL DEFAULT 0,
+ `SpellVisualID_1` INT unsigned NOT NULL DEFAULT 0,
+ `SpellVisualID_2` INT unsigned NOT NULL DEFAULT 0,
+ `SpellIconID` INT unsigned NOT NULL DEFAULT 0,
+ `ActiveIconID` INT unsigned NOT NULL DEFAULT 0,
+ `SpellPriority` INT unsigned NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -161,7 +161,7 @@ CREATE TABLE `spell_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`NameSubtext_Lang_enUS` varchar(100) DEFAULT NULL,
`NameSubtext_Lang_enGB` varchar(100) DEFAULT NULL,
`NameSubtext_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -178,7 +178,7 @@ CREATE TABLE `spell_dbc`
`NameSubtext_Lang_ptBR` varchar(100) DEFAULT NULL,
`NameSubtext_Lang_itIT` varchar(100) DEFAULT NULL,
`NameSubtext_Lang_Unk` varchar(100) DEFAULT NULL,
- `NameSubtext_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `NameSubtext_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`Description_Lang_enUS` varchar(100) DEFAULT NULL,
`Description_Lang_enGB` varchar(100) DEFAULT NULL,
`Description_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -195,7 +195,7 @@ CREATE TABLE `spell_dbc`
`Description_Lang_ptBR` varchar(100) DEFAULT NULL,
`Description_Lang_itIT` varchar(100) DEFAULT NULL,
`Description_Lang_Unk` varchar(100) DEFAULT NULL,
- `Description_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Description_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`AuraDescription_Lang_enUS` varchar(550) DEFAULT NULL,
`AuraDescription_Lang_enGB` varchar(550) DEFAULT NULL,
`AuraDescription_Lang_koKR` varchar(550) DEFAULT NULL,
@@ -212,39 +212,39 @@ CREATE TABLE `spell_dbc`
`AuraDescription_Lang_ptBR` varchar(550) DEFAULT NULL,
`AuraDescription_Lang_itIT` varchar(550) DEFAULT NULL,
`AuraDescription_Lang_Unk` varchar(100) DEFAULT NULL,
- `AuraDescription_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `ManaCostPct` int(10) unsigned NOT NULL DEFAULT 0,
- `StartRecoveryCategory` int(10) unsigned NOT NULL DEFAULT 0,
- `StartRecoveryTime` int(10) unsigned NOT NULL DEFAULT 0,
- `MaxTargetLevel` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellClassSet` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellClassMask_1` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellClassMask_2` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellClassMask_3` int(10) unsigned NOT NULL DEFAULT 0,
- `MaxTargets` int(10) unsigned NOT NULL DEFAULT 0,
- `DefenseType` int(10) unsigned NOT NULL DEFAULT 0,
- `PreventionType` int(10) unsigned NOT NULL DEFAULT 0,
- `StanceBarOrder` int(10) unsigned NOT NULL DEFAULT 0,
+ `AuraDescription_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `ManaCostPct` INT unsigned NOT NULL DEFAULT 0,
+ `StartRecoveryCategory` INT unsigned NOT NULL DEFAULT 0,
+ `StartRecoveryTime` INT unsigned NOT NULL DEFAULT 0,
+ `MaxTargetLevel` INT unsigned NOT NULL DEFAULT 0,
+ `SpellClassSet` INT unsigned NOT NULL DEFAULT 0,
+ `SpellClassMask_1` INT unsigned NOT NULL DEFAULT 0,
+ `SpellClassMask_2` INT unsigned NOT NULL DEFAULT 0,
+ `SpellClassMask_3` INT unsigned NOT NULL DEFAULT 0,
+ `MaxTargets` INT unsigned NOT NULL DEFAULT 0,
+ `DefenseType` INT unsigned NOT NULL DEFAULT 0,
+ `PreventionType` INT unsigned NOT NULL DEFAULT 0,
+ `StanceBarOrder` INT unsigned NOT NULL DEFAULT 0,
`EffectChainAmplitude_1` float NOT NULL DEFAULT 0,
`EffectChainAmplitude_2` float NOT NULL DEFAULT 0,
`EffectChainAmplitude_3` float NOT NULL DEFAULT 0,
- `MinFactionID` int(10) unsigned NOT NULL DEFAULT 0,
- `MinReputation` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiredAuraVision` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiredTotemCategoryID_1` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiredTotemCategoryID_2` int(10) unsigned NOT NULL DEFAULT 0,
- `RequiredAreasID` int(11) NOT NULL DEFAULT 0,
- `SchoolMask` int(10) unsigned NOT NULL DEFAULT 0,
- `RuneCostID` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellMissileID` int(10) unsigned NOT NULL DEFAULT 0,
- `PowerDisplayID` int(11) NOT NULL DEFAULT 0,
+ `MinFactionID` INT unsigned NOT NULL DEFAULT 0,
+ `MinReputation` INT unsigned NOT NULL DEFAULT 0,
+ `RequiredAuraVision` INT unsigned NOT NULL DEFAULT 0,
+ `RequiredTotemCategoryID_1` INT unsigned NOT NULL DEFAULT 0,
+ `RequiredTotemCategoryID_2` INT unsigned NOT NULL DEFAULT 0,
+ `RequiredAreasID` INT NOT NULL DEFAULT 0,
+ `SchoolMask` INT unsigned NOT NULL DEFAULT 0,
+ `RuneCostID` INT unsigned NOT NULL DEFAULT 0,
+ `SpellMissileID` INT unsigned NOT NULL DEFAULT 0,
+ `PowerDisplayID` INT NOT NULL DEFAULT 0,
`Field227` float NOT NULL DEFAULT 0,
`Field228` float NOT NULL DEFAULT 0,
`Field229` float NOT NULL DEFAULT 0,
- `SpellDescriptionVariableID` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellDifficultyID` int(10) unsigned NOT NULL DEFAULT 0,
+ `SpellDescriptionVariableID` INT unsigned NOT NULL DEFAULT 0,
+ `SpellDifficultyID` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`) USING BTREE
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_dbc` WRITE;
diff --git a/data/sql/base/db_world/spell_enchant_proc_data.sql b/data/sql/base/db_world/spell_enchant_proc_data.sql
index cb1d345474..63701dac7a 100644
--- a/data/sql/base/db_world/spell_enchant_proc_data.sql
+++ b/data/sql/base/db_world/spell_enchant_proc_data.sql
@@ -6,15 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_enchant_proc_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_enchant_proc_data`
(
- `entry` int(10) unsigned NOT NULL,
- `customChance` int(10) unsigned NOT NULL DEFAULT 0,
- `PPMChance` float unsigned NOT NULL DEFAULT 0,
- `procEx` int(10) unsigned NOT NULL DEFAULT 0,
+ `entry` INT unsigned NOT NULL,
+ `customChance` INT unsigned NOT NULL DEFAULT 0,
+ `PPMChance` FLOAT NOT NULL DEFAULT 0,
+ `procEx` INT unsigned NOT NULL DEFAULT 0,
+ CHECK (`PPMChance`>=0),
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_enchant_proc_data` WRITE;
diff --git a/data/sql/base/db_world/spell_group.sql b/data/sql/base/db_world/spell_group.sql
index ab5f0e19b9..f5154c11a0 100644
--- a/data/sql/base/db_world/spell_group.sql
+++ b/data/sql/base/db_world/spell_group.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_group`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0,
- `spell_id` int(11) unsigned NOT NULL DEFAULT 0,
- `special_flag` int(11) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `spell_id` INT unsigned NOT NULL DEFAULT 0,
+ `special_flag` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`spell_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Spell System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_group` WRITE;
diff --git a/data/sql/base/db_world/spell_group_stack_rules.sql b/data/sql/base/db_world/spell_group_stack_rules.sql
index 7663b2a752..14127c7ba5 100644
--- a/data/sql/base/db_world/spell_group_stack_rules.sql
+++ b/data/sql/base/db_world/spell_group_stack_rules.sql
@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_group_stack_rules`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_group_stack_rules`
(
- `group_id` int(11) unsigned NOT NULL DEFAULT 0,
- `stack_rule` tinyint(3) NOT NULL DEFAULT 0,
+ `group_id` INT unsigned NOT NULL DEFAULT 0,
+ `stack_rule` TINYINT NOT NULL DEFAULT 0,
`description` varchar(150) NOT NULL DEFAULT '',
PRIMARY KEY (`group_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_group_stack_rules` WRITE;
diff --git a/data/sql/base/db_world/spell_linked_spell.sql b/data/sql/base/db_world/spell_linked_spell.sql
index 970d79f548..3f327f6b0d 100644
--- a/data/sql/base/db_world/spell_linked_spell.sql
+++ b/data/sql/base/db_world/spell_linked_spell.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_linked_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_linked_spell`
(
- `spell_trigger` mediumint(8) NOT NULL,
- `spell_effect` mediumint(8) NOT NULL DEFAULT 0,
- `type` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `spell_trigger` MEDIUMINT NOT NULL,
+ `spell_effect` MEDIUMINT NOT NULL DEFAULT 0,
+ `type` TINYINT unsigned NOT NULL DEFAULT 0,
`comment` text NOT NULL,
UNIQUE KEY `trigger_effect_type` (`spell_trigger`,`spell_effect`,`type`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Spell System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='Spell System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_linked_spell` WRITE;
diff --git a/data/sql/base/db_world/spell_loot_template.sql b/data/sql/base/db_world/spell_loot_template.sql
index 75af3c82d6..2d43a8ef8b 100644
--- a/data/sql/base/db_world/spell_loot_template.sql
+++ b/data/sql/base/db_world/spell_loot_template.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_loot_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_loot_template`
(
- `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Item` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `Reference` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `Entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Item` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `Reference` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`Chance` float NOT NULL DEFAULT 100,
- `QuestRequired` tinyint(1) NOT NULL DEFAULT 0,
- `LootMode` smallint(5) unsigned NOT NULL DEFAULT 1,
- `GroupId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MinCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
- `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
+ `QuestRequired` TINYINT NOT NULL DEFAULT 0,
+ `LootMode` SMALLINT unsigned NOT NULL DEFAULT 1,
+ `GroupId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MinCount` TINYINT unsigned NOT NULL DEFAULT 1,
+ `MaxCount` TINYINT unsigned NOT NULL DEFAULT 1,
`Comment` varchar(255) DEFAULT NULL,
PRIMARY KEY (`Entry`,`Item`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Loot System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_loot_template` WRITE;
diff --git a/data/sql/base/db_world/spell_mixology.sql b/data/sql/base/db_world/spell_mixology.sql
index 274bd20253..fdd0aceed5 100644
--- a/data/sql/base/db_world/spell_mixology.sql
+++ b/data/sql/base/db_world/spell_mixology.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_mixology`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_mixology`
(
- `entry` mediumint(8) unsigned NOT NULL,
+ `entry` MEDIUMINT unsigned NOT NULL,
`pctMod` float NOT NULL DEFAULT 30 COMMENT 'bonus multiplier',
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_mixology` WRITE;
diff --git a/data/sql/base/db_world/spell_pet_auras.sql b/data/sql/base/db_world/spell_pet_auras.sql
index 6a8bb8a912..2743d8526d 100644
--- a/data/sql/base/db_world/spell_pet_auras.sql
+++ b/data/sql/base/db_world/spell_pet_auras.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_pet_auras`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_pet_auras`
(
- `spell` mediumint(8) unsigned NOT NULL COMMENT 'dummy spell id',
- `effectId` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `pet` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'pet id; 0 = all',
- `aura` mediumint(8) unsigned NOT NULL COMMENT 'pet aura id',
+ `spell` MEDIUMINT unsigned NOT NULL COMMENT 'dummy spell id',
+ `effectId` TINYINT unsigned NOT NULL DEFAULT 0,
+ `pet` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'pet id; 0 = all',
+ `aura` MEDIUMINT unsigned NOT NULL COMMENT 'pet aura id',
PRIMARY KEY (`spell`,`effectId`,`pet`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_pet_auras` WRITE;
diff --git a/data/sql/base/db_world/spell_proc.sql b/data/sql/base/db_world/spell_proc.sql
index cf373c6331..ef3365742c 100644
--- a/data/sql/base/db_world/spell_proc.sql
+++ b/data/sql/base/db_world/spell_proc.sql
@@ -6,26 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_proc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_proc`
(
- `spellId` mediumint(8) NOT NULL DEFAULT 0,
- `schoolMask` tinyint(4) NOT NULL DEFAULT 0,
- `spellFamilyName` smallint(5) unsigned NOT NULL DEFAULT 0,
- `spellFamilyMask0` int(10) unsigned NOT NULL DEFAULT 0,
- `spellFamilyMask1` int(10) unsigned NOT NULL DEFAULT 0,
- `spellFamilyMask2` int(10) unsigned NOT NULL DEFAULT 0,
- `typeMask` int(10) unsigned NOT NULL DEFAULT 0,
- `spellTypeMask` int(10) unsigned NOT NULL DEFAULT 0,
- `spellPhaseMask` int(11) NOT NULL DEFAULT 0,
- `hitMask` int(11) NOT NULL DEFAULT 0,
- `attributesMask` int(10) unsigned NOT NULL DEFAULT 0,
- `ratePerMinute` float NOT NULL DEFAULT 0,
- `chance` float NOT NULL DEFAULT 0,
- `cooldown` float unsigned NOT NULL DEFAULT 0,
- `charges` int(10) unsigned NOT NULL DEFAULT 0,
+ `spellId` MEDIUMINT NOT NULL DEFAULT 0,
+ `schoolMask` TINYINT NOT NULL DEFAULT 0,
+ `spellFamilyName` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `spellFamilyMask0` INT unsigned NOT NULL DEFAULT 0,
+ `spellFamilyMask1` INT unsigned NOT NULL DEFAULT 0,
+ `spellFamilyMask2` INT unsigned NOT NULL DEFAULT 0,
+ `typeMask` INT unsigned NOT NULL DEFAULT 0,
+ `spellTypeMask` INT unsigned NOT NULL DEFAULT 0,
+ `spellPhaseMask` INT NOT NULL DEFAULT 0,
+ `hitMask` INT NOT NULL DEFAULT 0,
+ `attributesMask` INT unsigned NOT NULL DEFAULT 0,
+ `ratePerMinute` FLOAT NOT NULL DEFAULT 0,
+ `chance` FLOAT NOT NULL DEFAULT 0,
+ `cooldown` FLOAT NOT NULL DEFAULT 0,
+ `charges` INT unsigned NOT NULL DEFAULT 0,
+ CHECK (`cooldown`>=0),
PRIMARY KEY (`spellId`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_proc` WRITE;
diff --git a/data/sql/base/db_world/spell_proc_event.sql b/data/sql/base/db_world/spell_proc_event.sql
index 3daceab253..0d1f69dee6 100644
--- a/data/sql/base/db_world/spell_proc_event.sql
+++ b/data/sql/base/db_world/spell_proc_event.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_proc_event`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_proc_event`
(
- `entry` mediumint(8) NOT NULL DEFAULT 0,
- `SchoolMask` tinyint(4) NOT NULL DEFAULT 0,
- `SpellFamilyName` smallint(5) unsigned NOT NULL DEFAULT 0,
- `SpellFamilyMask0` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellFamilyMask1` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellFamilyMask2` int(10) unsigned NOT NULL DEFAULT 0,
- `procFlags` int(10) unsigned NOT NULL DEFAULT 0,
- `procEx` int(10) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT NOT NULL DEFAULT 0,
+ `SchoolMask` TINYINT NOT NULL DEFAULT 0,
+ `SpellFamilyName` SMALLINT unsigned NOT NULL DEFAULT 0,
+ `SpellFamilyMask0` INT unsigned NOT NULL DEFAULT 0,
+ `SpellFamilyMask1` INT unsigned NOT NULL DEFAULT 0,
+ `SpellFamilyMask2` INT unsigned NOT NULL DEFAULT 0,
+ `procFlags` INT unsigned NOT NULL DEFAULT 0,
+ `procEx` INT unsigned NOT NULL DEFAULT 0,
`ppmRate` float NOT NULL DEFAULT 0,
`CustomChance` float NOT NULL DEFAULT 0,
- `Cooldown` int(10) unsigned NOT NULL DEFAULT 0,
+ `Cooldown` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_proc_event` WRITE;
diff --git a/data/sql/base/db_world/spell_ranks.sql b/data/sql/base/db_world/spell_ranks.sql
index 59d229b92b..d2fd195257 100644
--- a/data/sql/base/db_world/spell_ranks.sql
+++ b/data/sql/base/db_world/spell_ranks.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_ranks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_ranks`
(
- `first_spell_id` int(10) unsigned NOT NULL DEFAULT 0,
- `spell_id` int(10) unsigned NOT NULL DEFAULT 0,
- `rank` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `first_spell_id` INT unsigned NOT NULL DEFAULT 0,
+ `spell_id` INT unsigned NOT NULL DEFAULT 0,
+ `rank` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`first_spell_id`,`rank`),
UNIQUE KEY `spell_id` (`spell_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Rank Data';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Spell Rank Data';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_ranks` WRITE;
diff --git a/data/sql/base/db_world/spell_required.sql b/data/sql/base/db_world/spell_required.sql
index 947ec63118..887d81b23d 100644
--- a/data/sql/base/db_world/spell_required.sql
+++ b/data/sql/base/db_world/spell_required.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_required`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_required`
(
- `spell_id` mediumint(8) NOT NULL DEFAULT 0,
- `req_spell` mediumint(8) NOT NULL DEFAULT 0,
+ `spell_id` MEDIUMINT NOT NULL DEFAULT 0,
+ `req_spell` MEDIUMINT NOT NULL DEFAULT 0,
PRIMARY KEY (`spell_id`,`req_spell`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_required` WRITE;
diff --git a/data/sql/base/db_world/spell_script_names.sql b/data/sql/base/db_world/spell_script_names.sql
index d63ea6e039..e7533a7d69 100644
--- a/data/sql/base/db_world/spell_script_names.sql
+++ b/data/sql/base/db_world/spell_script_names.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_script_names`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_script_names`
(
- `spell_id` int(11) NOT NULL,
+ `spell_id` INT NOT NULL,
`ScriptName` char(64) NOT NULL,
UNIQUE KEY `spell_id` (`spell_id`,`ScriptName`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_script_names` WRITE;
diff --git a/data/sql/base/db_world/spell_scripts.sql b/data/sql/base/db_world/spell_scripts.sql
index 49250270aa..744af005bc 100644
--- a/data/sql/base/db_world/spell_scripts.sql
+++ b/data/sql/base/db_world/spell_scripts.sql
@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_scripts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_scripts`
(
- `id` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `effIndex` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `delay` int(10) unsigned NOT NULL DEFAULT 0,
- `command` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `datalong` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `datalong2` int(10) unsigned NOT NULL DEFAULT 0,
- `dataint` int(11) NOT NULL DEFAULT 0,
+ `id` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `effIndex` TINYINT unsigned NOT NULL DEFAULT 0,
+ `delay` INT unsigned NOT NULL DEFAULT 0,
+ `command` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `datalong` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `datalong2` INT unsigned NOT NULL DEFAULT 0,
+ `dataint` INT NOT NULL DEFAULT 0,
`x` float NOT NULL DEFAULT 0,
`y` float NOT NULL DEFAULT 0,
`z` float NOT NULL DEFAULT 0,
`o` float NOT NULL DEFAULT 0
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_scripts` WRITE;
diff --git a/data/sql/base/db_world/spell_target_position.sql b/data/sql/base/db_world/spell_target_position.sql
index e87b3523f2..fcb6884e7e 100644
--- a/data/sql/base/db_world/spell_target_position.sql
+++ b/data/sql/base/db_world/spell_target_position.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_target_position`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_target_position`
(
- `ID` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
- `EffectIndex` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `MapID` smallint(5) unsigned NOT NULL DEFAULT 0,
+ `ID` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
+ `EffectIndex` TINYINT unsigned NOT NULL DEFAULT 0,
+ `MapID` SMALLINT unsigned NOT NULL DEFAULT 0,
`PositionX` float NOT NULL DEFAULT 0,
`PositionY` float NOT NULL DEFAULT 0,
`PositionZ` float NOT NULL DEFAULT 0,
`Orientation` float NOT NULL DEFAULT 0,
- `VerifiedBuild` smallint(5) DEFAULT 0,
+ `VerifiedBuild` SMALLINT DEFAULT 0,
PRIMARY KEY (`ID`,`EffectIndex`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Spell System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_target_position` WRITE;
diff --git a/data/sql/base/db_world/spell_threat.sql b/data/sql/base/db_world/spell_threat.sql
index 5df0d5edb5..16bc8a7917 100644
--- a/data/sql/base/db_world/spell_threat.sql
+++ b/data/sql/base/db_world/spell_threat.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spell_threat`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spell_threat`
(
- `entry` mediumint(8) unsigned NOT NULL,
- `flatMod` int(11) DEFAULT NULL,
+ `entry` MEDIUMINT unsigned NOT NULL,
+ `flatMod` INT DEFAULT NULL,
`pctMod` float NOT NULL DEFAULT 1 COMMENT 'threat multiplier for damage/healing',
`apPctMod` float NOT NULL DEFAULT 0 COMMENT 'additional threat bonus from attack power',
PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spell_threat` WRITE;
diff --git a/data/sql/base/db_world/spellcasttimes_dbc.sql b/data/sql/base/db_world/spellcasttimes_dbc.sql
index 169c890eeb..791ec78932 100644
--- a/data/sql/base/db_world/spellcasttimes_dbc.sql
+++ b/data/sql/base/db_world/spellcasttimes_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellcasttimes_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellcasttimes_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Base` int(11) NOT NULL DEFAULT 0,
- `PerLevel` int(11) NOT NULL DEFAULT 0,
- `Minimum` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Base` INT NOT NULL DEFAULT 0,
+ `PerLevel` INT NOT NULL DEFAULT 0,
+ `Minimum` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellcasttimes_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellcategory_dbc.sql b/data/sql/base/db_world/spellcategory_dbc.sql
index e17f4d7473..6042968917 100644
--- a/data/sql/base/db_world/spellcategory_dbc.sql
+++ b/data/sql/base/db_world/spellcategory_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellcategory_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellcategory_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellcategory_dbc` WRITE;
diff --git a/data/sql/base/db_world/spelldifficulty_dbc.sql b/data/sql/base/db_world/spelldifficulty_dbc.sql
index f47e7007bb..467ff765c1 100644
--- a/data/sql/base/db_world/spelldifficulty_dbc.sql
+++ b/data/sql/base/db_world/spelldifficulty_dbc.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spelldifficulty_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spelldifficulty_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `DifficultySpellID_1` int(11) NOT NULL DEFAULT 0,
- `DifficultySpellID_2` int(11) NOT NULL DEFAULT 0,
- `DifficultySpellID_3` int(11) NOT NULL DEFAULT 0,
- `DifficultySpellID_4` int(11) unsigned NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `DifficultySpellID_1` INT NOT NULL DEFAULT 0,
+ `DifficultySpellID_2` INT NOT NULL DEFAULT 0,
+ `DifficultySpellID_3` INT NOT NULL DEFAULT 0,
+ `DifficultySpellID_4` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spelldifficulty_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellduration_dbc.sql b/data/sql/base/db_world/spellduration_dbc.sql
index b2dffad99f..20464cbc84 100644
--- a/data/sql/base/db_world/spellduration_dbc.sql
+++ b/data/sql/base/db_world/spellduration_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellduration_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellduration_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Duration` int(11) NOT NULL DEFAULT 0,
- `DurationPerLevel` int(11) NOT NULL DEFAULT 0,
- `MaxDuration` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Duration` INT NOT NULL DEFAULT 0,
+ `DurationPerLevel` INT NOT NULL DEFAULT 0,
+ `MaxDuration` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellduration_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellfocusobject_dbc.sql b/data/sql/base/db_world/spellfocusobject_dbc.sql
index e65be77bd2..7f41d0ade0 100644
--- a/data/sql/base/db_world/spellfocusobject_dbc.sql
+++ b/data/sql/base/db_world/spellfocusobject_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellfocusobject_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellfocusobject_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,9 +26,9 @@ CREATE TABLE `spellfocusobject_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellfocusobject_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellitemenchantment_dbc.sql b/data/sql/base/db_world/spellitemenchantment_dbc.sql
index af83e512d3..84ee9ca713 100644
--- a/data/sql/base/db_world/spellitemenchantment_dbc.sql
+++ b/data/sql/base/db_world/spellitemenchantment_dbc.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellitemenchantment_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellitemenchantment_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Charges` int(11) NOT NULL DEFAULT 0,
- `Effect_1` int(11) NOT NULL DEFAULT 0,
- `Effect_2` int(11) NOT NULL DEFAULT 0,
- `Effect_3` int(11) NOT NULL DEFAULT 0,
- `EffectPointsMin_1` int(11) NOT NULL DEFAULT 0,
- `EffectPointsMin_2` int(11) NOT NULL DEFAULT 0,
- `EffectPointsMin_3` int(11) NOT NULL DEFAULT 0,
- `EffectPointsMax_1` int(11) NOT NULL DEFAULT 0,
- `EffectPointsMax_2` int(11) NOT NULL DEFAULT 0,
- `EffectPointsMax_3` int(11) NOT NULL DEFAULT 0,
- `EffectArg_1` int(11) NOT NULL DEFAULT 0,
- `EffectArg_2` int(11) NOT NULL DEFAULT 0,
- `EffectArg_3` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Charges` INT NOT NULL DEFAULT 0,
+ `Effect_1` INT NOT NULL DEFAULT 0,
+ `Effect_2` INT NOT NULL DEFAULT 0,
+ `Effect_3` INT NOT NULL DEFAULT 0,
+ `EffectPointsMin_1` INT NOT NULL DEFAULT 0,
+ `EffectPointsMin_2` INT NOT NULL DEFAULT 0,
+ `EffectPointsMin_3` INT NOT NULL DEFAULT 0,
+ `EffectPointsMax_1` INT NOT NULL DEFAULT 0,
+ `EffectPointsMax_2` INT NOT NULL DEFAULT 0,
+ `EffectPointsMax_3` INT NOT NULL DEFAULT 0,
+ `EffectArg_1` INT NOT NULL DEFAULT 0,
+ `EffectArg_2` INT NOT NULL DEFAULT 0,
+ `EffectArg_3` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -39,16 +39,16 @@ CREATE TABLE `spellitemenchantment_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `ItemVisual` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `Src_ItemID` int(11) NOT NULL DEFAULT 0,
- `Condition_Id` int(11) NOT NULL DEFAULT 0,
- `RequiredSkillID` int(11) NOT NULL DEFAULT 0,
- `RequiredSkillRank` int(11) NOT NULL DEFAULT 0,
- `MinLevel` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `ItemVisual` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `Src_ItemID` INT NOT NULL DEFAULT 0,
+ `Condition_Id` INT NOT NULL DEFAULT 0,
+ `RequiredSkillID` INT NOT NULL DEFAULT 0,
+ `RequiredSkillRank` INT NOT NULL DEFAULT 0,
+ `MinLevel` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellitemenchantment_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellitemenchantmentcondition_dbc.sql b/data/sql/base/db_world/spellitemenchantmentcondition_dbc.sql
index 5a7eb8bf68..40519835f1 100644
--- a/data/sql/base/db_world/spellitemenchantmentcondition_dbc.sql
+++ b/data/sql/base/db_world/spellitemenchantmentcondition_dbc.sql
@@ -6,42 +6,42 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellitemenchantmentcondition_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellitemenchantmentcondition_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Lt_OperandType_1` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Lt_OperandType_2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Lt_OperandType_3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Lt_OperandType_4` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Lt_OperandType_5` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Lt_Operand_1` int(11) NOT NULL DEFAULT 0,
- `Lt_Operand_2` int(11) NOT NULL DEFAULT 0,
- `Lt_Operand_3` int(11) NOT NULL DEFAULT 0,
- `Lt_Operand_4` int(11) NOT NULL DEFAULT 0,
- `Lt_Operand_5` int(11) NOT NULL DEFAULT 0,
- `Operator_1` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Operator_2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Operator_3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Operator_4` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Operator_5` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Rt_OperandType_1` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Rt_OperandType_2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Rt_OperandType_3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Rt_OperandType_4` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Rt_OperandType_5` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Rt_Operand_1` int(11) NOT NULL DEFAULT 0,
- `Rt_Operand_2` int(11) NOT NULL DEFAULT 0,
- `Rt_Operand_3` int(11) NOT NULL DEFAULT 0,
- `Rt_Operand_4` int(11) NOT NULL DEFAULT 0,
- `Rt_Operand_5` int(11) NOT NULL DEFAULT 0,
- `Logic_1` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Logic_2` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Logic_3` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Logic_4` tinyint(3) unsigned NOT NULL DEFAULT 0,
- `Logic_5` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Lt_OperandType_1` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Lt_OperandType_2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Lt_OperandType_3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Lt_OperandType_4` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Lt_OperandType_5` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Lt_Operand_1` INT NOT NULL DEFAULT 0,
+ `Lt_Operand_2` INT NOT NULL DEFAULT 0,
+ `Lt_Operand_3` INT NOT NULL DEFAULT 0,
+ `Lt_Operand_4` INT NOT NULL DEFAULT 0,
+ `Lt_Operand_5` INT NOT NULL DEFAULT 0,
+ `Operator_1` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Operator_2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Operator_3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Operator_4` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Operator_5` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Rt_OperandType_1` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Rt_OperandType_2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Rt_OperandType_3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Rt_OperandType_4` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Rt_OperandType_5` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Rt_Operand_1` INT NOT NULL DEFAULT 0,
+ `Rt_Operand_2` INT NOT NULL DEFAULT 0,
+ `Rt_Operand_3` INT NOT NULL DEFAULT 0,
+ `Rt_Operand_4` INT NOT NULL DEFAULT 0,
+ `Rt_Operand_5` INT NOT NULL DEFAULT 0,
+ `Logic_1` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Logic_2` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Logic_3` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Logic_4` TINYINT unsigned NOT NULL DEFAULT 0,
+ `Logic_5` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellitemenchantmentcondition_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellradius_dbc.sql b/data/sql/base/db_world/spellradius_dbc.sql
index 4a43dcc71c..3e425dcd14 100644
--- a/data/sql/base/db_world/spellradius_dbc.sql
+++ b/data/sql/base/db_world/spellradius_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellradius_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellradius_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Radius` float NOT NULL DEFAULT 0,
`RadiusPerLevel` float NOT NULL DEFAULT 0,
`RadiusMax` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellradius_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellrange_dbc.sql b/data/sql/base/db_world/spellrange_dbc.sql
index 845713925c..a9ee56f336 100644
--- a/data/sql/base/db_world/spellrange_dbc.sql
+++ b/data/sql/base/db_world/spellrange_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellrange_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellrange_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`RangeMin_1` float NOT NULL DEFAULT 0,
`RangeMin_2` float NOT NULL DEFAULT 0,
`RangeMax_1` float NOT NULL DEFAULT 0,
`RangeMax_2` float NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
`DisplayName_Lang_enUS` text DEFAULT NULL,
`DisplayName_Lang_enGB` text DEFAULT NULL,
`DisplayName_Lang_koKR` text DEFAULT NULL,
@@ -31,7 +31,7 @@ CREATE TABLE `spellrange_dbc`
`DisplayName_Lang_ptBR` text DEFAULT NULL,
`DisplayName_Lang_itIT` text DEFAULT NULL,
`DisplayName_Lang_Unk` text DEFAULT NULL,
- `DisplayName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `DisplayName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
`DisplayNameShort_Lang_enUS` text DEFAULT NULL,
`DisplayNameShort_Lang_enGB` text DEFAULT NULL,
`DisplayNameShort_Lang_koKR` text DEFAULT NULL,
@@ -48,9 +48,9 @@ CREATE TABLE `spellrange_dbc`
`DisplayNameShort_Lang_ptBR` text DEFAULT NULL,
`DisplayNameShort_Lang_itIT` text DEFAULT NULL,
`DisplayNameShort_Lang_Unk` text DEFAULT NULL,
- `DisplayNameShort_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `DisplayNameShort_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellrange_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellrunecost_dbc.sql b/data/sql/base/db_world/spellrunecost_dbc.sql
index 5174d9f6c4..dbaf1640dd 100644
--- a/data/sql/base/db_world/spellrunecost_dbc.sql
+++ b/data/sql/base/db_world/spellrunecost_dbc.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellrunecost_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellrunecost_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Blood` int(11) NOT NULL DEFAULT 0,
- `Unholy` int(11) NOT NULL DEFAULT 0,
- `Frost` int(11) NOT NULL DEFAULT 0,
- `RunicPower` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Blood` INT NOT NULL DEFAULT 0,
+ `Unholy` INT NOT NULL DEFAULT 0,
+ `Frost` INT NOT NULL DEFAULT 0,
+ `RunicPower` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellrunecost_dbc` WRITE;
diff --git a/data/sql/base/db_world/spellshapeshiftform_dbc.sql b/data/sql/base/db_world/spellshapeshiftform_dbc.sql
index 15efe8ac4e..b9efd22368 100644
--- a/data/sql/base/db_world/spellshapeshiftform_dbc.sql
+++ b/data/sql/base/db_world/spellshapeshiftform_dbc.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `spellshapeshiftform_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `spellshapeshiftform_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `BonusActionBar` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `BonusActionBar` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -27,25 +27,25 @@ CREATE TABLE `spellshapeshiftform_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `CreatureType` int(11) NOT NULL DEFAULT 0,
- `AttackIconID` int(11) NOT NULL DEFAULT 0,
- `CombatRoundTime` int(11) NOT NULL DEFAULT 0,
- `CreatureDisplayID_1` int(11) NOT NULL DEFAULT 0,
- `CreatureDisplayID_2` int(11) NOT NULL DEFAULT 0,
- `CreatureDisplayID_3` int(11) NOT NULL DEFAULT 0,
- `CreatureDisplayID_4` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_1` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_2` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_3` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_4` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_5` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_6` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_7` int(11) NOT NULL DEFAULT 0,
- `PresetSpellID_8` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `CreatureType` INT NOT NULL DEFAULT 0,
+ `AttackIconID` INT NOT NULL DEFAULT 0,
+ `CombatRoundTime` INT NOT NULL DEFAULT 0,
+ `CreatureDisplayID_1` INT NOT NULL DEFAULT 0,
+ `CreatureDisplayID_2` INT NOT NULL DEFAULT 0,
+ `CreatureDisplayID_3` INT NOT NULL DEFAULT 0,
+ `CreatureDisplayID_4` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_1` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_2` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_3` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_4` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_5` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_6` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_7` INT NOT NULL DEFAULT 0,
+ `PresetSpellID_8` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `spellshapeshiftform_dbc` WRITE;
diff --git a/data/sql/base/db_world/stableslotprices_dbc.sql b/data/sql/base/db_world/stableslotprices_dbc.sql
index 99a52ad553..bc19a73dec 100644
--- a/data/sql/base/db_world/stableslotprices_dbc.sql
+++ b/data/sql/base/db_world/stableslotprices_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `stableslotprices_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `stableslotprices_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Cost` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Cost` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `stableslotprices_dbc` WRITE;
diff --git a/data/sql/base/db_world/summonproperties_dbc.sql b/data/sql/base/db_world/summonproperties_dbc.sql
index b27e7d4d91..898b5b5723 100644
--- a/data/sql/base/db_world/summonproperties_dbc.sql
+++ b/data/sql/base/db_world/summonproperties_dbc.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `summonproperties_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `summonproperties_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Control` int(11) NOT NULL DEFAULT 0,
- `Faction` int(11) NOT NULL DEFAULT 0,
- `Title` int(11) NOT NULL DEFAULT 0,
- `Slot` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Control` INT NOT NULL DEFAULT 0,
+ `Faction` INT NOT NULL DEFAULT 0,
+ `Title` INT NOT NULL DEFAULT 0,
+ `Slot` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `summonproperties_dbc` WRITE;
diff --git a/data/sql/base/db_world/talent_dbc.sql b/data/sql/base/db_world/talent_dbc.sql
index 1dd430c017..354a31f074 100644
--- a/data/sql/base/db_world/talent_dbc.sql
+++ b/data/sql/base/db_world/talent_dbc.sql
@@ -6,34 +6,34 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `talent_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `talent_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `TabID` int(11) NOT NULL DEFAULT 0,
- `TierID` int(11) NOT NULL DEFAULT 0,
- `ColumnIndex` int(11) NOT NULL DEFAULT 0,
- `SpellRank_1` int(11) NOT NULL DEFAULT 0,
- `SpellRank_2` int(11) NOT NULL DEFAULT 0,
- `SpellRank_3` int(11) NOT NULL DEFAULT 0,
- `SpellRank_4` int(11) NOT NULL DEFAULT 0,
- `SpellRank_5` int(11) NOT NULL DEFAULT 0,
- `SpellRank_6` int(11) NOT NULL DEFAULT 0,
- `SpellRank_7` int(11) NOT NULL DEFAULT 0,
- `SpellRank_8` int(11) NOT NULL DEFAULT 0,
- `SpellRank_9` int(11) NOT NULL DEFAULT 0,
- `PrereqTalent_1` int(11) NOT NULL DEFAULT 0,
- `PrereqTalent_2` int(11) NOT NULL DEFAULT 0,
- `PrereqTalent_3` int(11) NOT NULL DEFAULT 0,
- `PrereqRank_1` int(11) NOT NULL DEFAULT 0,
- `PrereqRank_2` int(11) NOT NULL DEFAULT 0,
- `PrereqRank_3` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `RequiredSpellID` int(11) NOT NULL DEFAULT 0,
- `CategoryMask_1` int(11) NOT NULL DEFAULT 0,
- `CategoryMask_2` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `TabID` INT NOT NULL DEFAULT 0,
+ `TierID` INT NOT NULL DEFAULT 0,
+ `ColumnIndex` INT NOT NULL DEFAULT 0,
+ `SpellRank_1` INT NOT NULL DEFAULT 0,
+ `SpellRank_2` INT NOT NULL DEFAULT 0,
+ `SpellRank_3` INT NOT NULL DEFAULT 0,
+ `SpellRank_4` INT NOT NULL DEFAULT 0,
+ `SpellRank_5` INT NOT NULL DEFAULT 0,
+ `SpellRank_6` INT NOT NULL DEFAULT 0,
+ `SpellRank_7` INT NOT NULL DEFAULT 0,
+ `SpellRank_8` INT NOT NULL DEFAULT 0,
+ `SpellRank_9` INT NOT NULL DEFAULT 0,
+ `PrereqTalent_1` INT NOT NULL DEFAULT 0,
+ `PrereqTalent_2` INT NOT NULL DEFAULT 0,
+ `PrereqTalent_3` INT NOT NULL DEFAULT 0,
+ `PrereqRank_1` INT NOT NULL DEFAULT 0,
+ `PrereqRank_2` INT NOT NULL DEFAULT 0,
+ `PrereqRank_3` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `RequiredSpellID` INT NOT NULL DEFAULT 0,
+ `CategoryMask_1` INT NOT NULL DEFAULT 0,
+ `CategoryMask_2` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `talent_dbc` WRITE;
diff --git a/data/sql/base/db_world/talenttab_dbc.sql b/data/sql/base/db_world/talenttab_dbc.sql
index 52f36954f8..b2ae879308 100644
--- a/data/sql/base/db_world/talenttab_dbc.sql
+++ b/data/sql/base/db_world/talenttab_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `talenttab_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `talenttab_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,15 +26,15 @@ CREATE TABLE `talenttab_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `SpellIconID` int(11) NOT NULL DEFAULT 0,
- `RaceMask` int(11) NOT NULL DEFAULT 0,
- `ClassMask` int(11) NOT NULL DEFAULT 0,
- `PetTalentMask` int(11) NOT NULL DEFAULT 0,
- `OrderIndex` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `SpellIconID` INT NOT NULL DEFAULT 0,
+ `RaceMask` INT NOT NULL DEFAULT 0,
+ `ClassMask` INT NOT NULL DEFAULT 0,
+ `PetTalentMask` INT NOT NULL DEFAULT 0,
+ `OrderIndex` INT NOT NULL DEFAULT 0,
`BackgroundFile` varchar(100) DEFAULT NULL,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `talenttab_dbc` WRITE;
diff --git a/data/sql/base/db_world/taxinodes_dbc.sql b/data/sql/base/db_world/taxinodes_dbc.sql
index 55371ce960..64f9d86ad8 100644
--- a/data/sql/base/db_world/taxinodes_dbc.sql
+++ b/data/sql/base/db_world/taxinodes_dbc.sql
@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `taxinodes_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `taxinodes_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `ContinentID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `ContinentID` INT NOT NULL DEFAULT 0,
`X` float NOT NULL DEFAULT 0,
`Y` float NOT NULL DEFAULT 0,
`Z` float NOT NULL DEFAULT 0,
@@ -30,11 +30,11 @@ CREATE TABLE `taxinodes_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `MountCreatureID_1` int(11) NOT NULL DEFAULT 0,
- `MountCreatureID_2` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `MountCreatureID_1` INT NOT NULL DEFAULT 0,
+ `MountCreatureID_2` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `taxinodes_dbc` WRITE;
diff --git a/data/sql/base/db_world/taxipath_dbc.sql b/data/sql/base/db_world/taxipath_dbc.sql
index 8987b9b488..2d2d1667ee 100644
--- a/data/sql/base/db_world/taxipath_dbc.sql
+++ b/data/sql/base/db_world/taxipath_dbc.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `taxipath_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `taxipath_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `FromTaxiNode` int(11) NOT NULL DEFAULT 0,
- `ToTaxiNode` int(11) NOT NULL DEFAULT 0,
- `Cost` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `FromTaxiNode` INT NOT NULL DEFAULT 0,
+ `ToTaxiNode` INT NOT NULL DEFAULT 0,
+ `Cost` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `taxipath_dbc` WRITE;
diff --git a/data/sql/base/db_world/taxipathnode_dbc.sql b/data/sql/base/db_world/taxipathnode_dbc.sql
index 4f7b13cc1f..0640104f1d 100644
--- a/data/sql/base/db_world/taxipathnode_dbc.sql
+++ b/data/sql/base/db_world/taxipathnode_dbc.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `taxipathnode_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `taxipathnode_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `PathID` int(11) NOT NULL DEFAULT 0,
- `NodeIndex` int(11) NOT NULL DEFAULT 0,
- `ContinentID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `PathID` INT NOT NULL DEFAULT 0,
+ `NodeIndex` INT NOT NULL DEFAULT 0,
+ `ContinentID` INT NOT NULL DEFAULT 0,
`LocX` float NOT NULL DEFAULT 0,
`LocY` float NOT NULL DEFAULT 0,
`LocZ` float NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `Delay` int(11) NOT NULL DEFAULT 0,
- `ArrivalEventID` int(11) NOT NULL DEFAULT 0,
- `DepartureEventID` int(11) NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `Delay` INT NOT NULL DEFAULT 0,
+ `ArrivalEventID` INT NOT NULL DEFAULT 0,
+ `DepartureEventID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `taxipathnode_dbc` WRITE;
diff --git a/data/sql/base/db_world/teamcontributionpoints_dbc.sql b/data/sql/base/db_world/teamcontributionpoints_dbc.sql
index bc68f5b880..adeaa402fd 100644
--- a/data/sql/base/db_world/teamcontributionpoints_dbc.sql
+++ b/data/sql/base/db_world/teamcontributionpoints_dbc.sql
@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `teamcontributionpoints_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `teamcontributionpoints_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Data` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `teamcontributionpoints_dbc` WRITE;
diff --git a/data/sql/base/db_world/totemcategory_dbc.sql b/data/sql/base/db_world/totemcategory_dbc.sql
index 57df25928d..dddbe0a528 100644
--- a/data/sql/base/db_world/totemcategory_dbc.sql
+++ b/data/sql/base/db_world/totemcategory_dbc.sql
@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `totemcategory_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `totemcategory_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
`Name_Lang_enUS` varchar(100) DEFAULT NULL,
`Name_Lang_enGB` varchar(100) DEFAULT NULL,
`Name_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -26,11 +26,11 @@ CREATE TABLE `totemcategory_dbc`
`Name_Lang_ptBR` varchar(100) DEFAULT NULL,
`Name_Lang_itIT` varchar(100) DEFAULT NULL,
`Name_Lang_Unk` varchar(100) DEFAULT NULL,
- `Name_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
- `TotemCategoryType` int(11) NOT NULL DEFAULT 0,
- `TotemCategoryMask` int(11) NOT NULL DEFAULT 0,
+ `Name_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
+ `TotemCategoryType` INT NOT NULL DEFAULT 0,
+ `TotemCategoryMask` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `totemcategory_dbc` WRITE;
diff --git a/data/sql/base/db_world/transportanimation_dbc.sql b/data/sql/base/db_world/transportanimation_dbc.sql
index 56a74c3179..b73b787d21 100644
--- a/data/sql/base/db_world/transportanimation_dbc.sql
+++ b/data/sql/base/db_world/transportanimation_dbc.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `transportanimation_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `transportanimation_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `TransportID` int(11) NOT NULL DEFAULT 0,
- `TimeIndex` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `TransportID` INT NOT NULL DEFAULT 0,
+ `TimeIndex` INT NOT NULL DEFAULT 0,
`PosX` float NOT NULL DEFAULT 0,
`PosY` float NOT NULL DEFAULT 0,
`PosZ` float NOT NULL DEFAULT 0,
- `SequenceID` int(11) NOT NULL DEFAULT 0,
+ `SequenceID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `transportanimation_dbc` WRITE;
diff --git a/data/sql/base/db_world/transportrotation_dbc.sql b/data/sql/base/db_world/transportrotation_dbc.sql
index d6530c43c9..4b736bc5f8 100644
--- a/data/sql/base/db_world/transportrotation_dbc.sql
+++ b/data/sql/base/db_world/transportrotation_dbc.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `transportrotation_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `transportrotation_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `GameObjectsID` int(11) NOT NULL DEFAULT 0,
- `TimeIndex` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `GameObjectsID` INT NOT NULL DEFAULT 0,
+ `TimeIndex` INT NOT NULL DEFAULT 0,
`RotX` float NOT NULL DEFAULT 0,
`RotY` float NOT NULL DEFAULT 0,
`RotZ` float NOT NULL DEFAULT 0,
`RotW` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `transportrotation_dbc` WRITE;
diff --git a/data/sql/base/db_world/transports.sql b/data/sql/base/db_world/transports.sql
index 5873a50e1b..acccac4d64 100644
--- a/data/sql/base/db_world/transports.sql
+++ b/data/sql/base/db_world/transports.sql
@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `transports`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `transports`
(
- `guid` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `guid` INT unsigned NOT NULL AUTO_INCREMENT,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`name` text DEFAULT NULL,
`ScriptName` char(64) NOT NULL DEFAULT '',
PRIMARY KEY (`guid`),
UNIQUE KEY `idx_entry` (`entry`)
-) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Transports';
+) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Transports';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `transports` WRITE;
diff --git a/data/sql/base/db_world/vehicle_accessory.sql b/data/sql/base/db_world/vehicle_accessory.sql
index c3fe1fa96a..937485c5a5 100644
--- a/data/sql/base/db_world/vehicle_accessory.sql
+++ b/data/sql/base/db_world/vehicle_accessory.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `vehicle_accessory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `vehicle_accessory`
(
- `guid` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `seat_id` tinyint(4) NOT NULL DEFAULT 0,
- `minion` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `guid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `accessory_entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `seat_id` TINYINT NOT NULL DEFAULT 0,
+ `minion` TINYINT unsigned NOT NULL DEFAULT 0,
`description` text NOT NULL,
- `summontype` tinyint(3) unsigned NOT NULL DEFAULT 6 COMMENT 'see enum TempSummonType',
- `summontimer` int(10) unsigned NOT NULL DEFAULT 30000 COMMENT 'timer, only relevant for certain summontypes',
+ `summontype` TINYINT unsigned NOT NULL DEFAULT 6 COMMENT 'see enum TempSummonType',
+ `summontimer` INT unsigned NOT NULL DEFAULT 30000 COMMENT 'timer, only relevant for certain summontypes',
PRIMARY KEY (`guid`,`seat_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `vehicle_accessory` WRITE;
diff --git a/data/sql/base/db_world/vehicle_dbc.sql b/data/sql/base/db_world/vehicle_dbc.sql
index d6093af6b0..66e35a588b 100644
--- a/data/sql/base/db_world/vehicle_dbc.sql
+++ b/data/sql/base/db_world/vehicle_dbc.sql
@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `vehicle_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `vehicle_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
`TurnSpeed` float NOT NULL DEFAULT 0,
`PitchSpeed` float NOT NULL DEFAULT 0,
`PitchMin` float NOT NULL DEFAULT 0,
`PitchMax` float NOT NULL DEFAULT 0,
- `SeatID_1` int(11) NOT NULL DEFAULT 0,
- `SeatID_2` int(11) NOT NULL DEFAULT 0,
- `SeatID_3` int(11) NOT NULL DEFAULT 0,
- `SeatID_4` int(11) NOT NULL DEFAULT 0,
- `SeatID_5` int(11) NOT NULL DEFAULT 0,
- `SeatID_6` int(11) NOT NULL DEFAULT 0,
- `SeatID_7` int(11) NOT NULL DEFAULT 0,
- `SeatID_8` int(11) NOT NULL DEFAULT 0,
+ `SeatID_1` INT NOT NULL DEFAULT 0,
+ `SeatID_2` INT NOT NULL DEFAULT 0,
+ `SeatID_3` INT NOT NULL DEFAULT 0,
+ `SeatID_4` INT NOT NULL DEFAULT 0,
+ `SeatID_5` INT NOT NULL DEFAULT 0,
+ `SeatID_6` INT NOT NULL DEFAULT 0,
+ `SeatID_7` INT NOT NULL DEFAULT 0,
+ `SeatID_8` INT NOT NULL DEFAULT 0,
`MouseLookOffsetPitch` float NOT NULL DEFAULT 0,
`CameraFadeDistScalarMin` float NOT NULL DEFAULT 0,
`CameraFadeDistScalarMax` float NOT NULL DEFAULT 0,
@@ -43,14 +43,14 @@ CREATE TABLE `vehicle_dbc`
`MsslTrgtImpactModel_1` varchar(100) DEFAULT NULL,
`MsslTrgtImpactModel_2` varchar(100) DEFAULT NULL,
`CameraYawOffset` float NOT NULL DEFAULT 0,
- `UilocomotionType` int(11) NOT NULL DEFAULT 0,
+ `UilocomotionType` INT NOT NULL DEFAULT 0,
`MsslTrgtImpactTexRadius` float NOT NULL DEFAULT 0,
- `VehicleUIIndicatorID` int(11) NOT NULL DEFAULT 0,
- `PowerDisplayID_1` int(11) NOT NULL DEFAULT 0,
- `PowerDisplayID_2` int(11) NOT NULL DEFAULT 0,
- `PowerDisplayID_3` int(11) NOT NULL DEFAULT 0,
+ `VehicleUIIndicatorID` INT NOT NULL DEFAULT 0,
+ `PowerDisplayID_1` INT NOT NULL DEFAULT 0,
+ `PowerDisplayID_2` INT NOT NULL DEFAULT 0,
+ `PowerDisplayID_3` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `vehicle_dbc` WRITE;
diff --git a/data/sql/base/db_world/vehicle_template_accessory.sql b/data/sql/base/db_world/vehicle_template_accessory.sql
index 041a6b06a9..d715a6aa2c 100644
--- a/data/sql/base/db_world/vehicle_template_accessory.sql
+++ b/data/sql/base/db_world/vehicle_template_accessory.sql
@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `vehicle_template_accessory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `vehicle_template_accessory`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `seat_id` tinyint(4) NOT NULL DEFAULT 0,
- `minion` tinyint(3) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `accessory_entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `seat_id` TINYINT NOT NULL DEFAULT 0,
+ `minion` TINYINT unsigned NOT NULL DEFAULT 0,
`description` text NOT NULL,
- `summontype` tinyint(3) unsigned NOT NULL DEFAULT 6 COMMENT 'see enum TempSummonType',
- `summontimer` int(10) unsigned NOT NULL DEFAULT 30000 COMMENT 'timer, only relevant for certain summontypes',
+ `summontype` TINYINT unsigned NOT NULL DEFAULT 6 COMMENT 'see enum TempSummonType',
+ `summontimer` INT unsigned NOT NULL DEFAULT 30000 COMMENT 'timer, only relevant for certain summontypes',
PRIMARY KEY (`entry`,`seat_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `vehicle_template_accessory` WRITE;
diff --git a/data/sql/base/db_world/vehicleseat_dbc.sql b/data/sql/base/db_world/vehicleseat_dbc.sql
index 8de2c9959a..1b2ace6d32 100644
--- a/data/sql/base/db_world/vehicleseat_dbc.sql
+++ b/data/sql/base/db_world/vehicleseat_dbc.sql
@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `vehicleseat_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `vehicleseat_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `AttachmentID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `AttachmentID` INT NOT NULL DEFAULT 0,
`AttachmentOffsetX` float NOT NULL DEFAULT 0,
`AttachmentOffsetY` float NOT NULL DEFAULT 0,
`AttachmentOffsetZ` float NOT NULL DEFAULT 0,
@@ -22,12 +22,12 @@ CREATE TABLE `vehicleseat_dbc`
`EnterMaxDuration` float NOT NULL DEFAULT 0,
`EnterMinArcHeight` float NOT NULL DEFAULT 0,
`EnterMaxArcHeight` float NOT NULL DEFAULT 0,
- `EnterAnimStart` int(11) NOT NULL DEFAULT 0,
- `EnterAnimLoop` int(11) NOT NULL DEFAULT 0,
- `RideAnimStart` int(11) NOT NULL DEFAULT 0,
- `RideAnimLoop` int(11) NOT NULL DEFAULT 0,
- `RideUpperAnimStart` int(11) NOT NULL DEFAULT 0,
- `RideUpperAnimLoop` int(11) NOT NULL DEFAULT 0,
+ `EnterAnimStart` INT NOT NULL DEFAULT 0,
+ `EnterAnimLoop` INT NOT NULL DEFAULT 0,
+ `RideAnimStart` INT NOT NULL DEFAULT 0,
+ `RideAnimLoop` INT NOT NULL DEFAULT 0,
+ `RideUpperAnimStart` INT NOT NULL DEFAULT 0,
+ `RideUpperAnimLoop` INT NOT NULL DEFAULT 0,
`ExitPreDelay` float NOT NULL DEFAULT 0,
`ExitSpeed` float NOT NULL DEFAULT 0,
`ExitGravity` float NOT NULL DEFAULT 0,
@@ -35,26 +35,26 @@ CREATE TABLE `vehicleseat_dbc`
`ExitMaxDuration` float NOT NULL DEFAULT 0,
`ExitMinArcHeight` float NOT NULL DEFAULT 0,
`ExitMaxArcHeight` float NOT NULL DEFAULT 0,
- `ExitAnimStart` int(11) NOT NULL DEFAULT 0,
- `ExitAnimLoop` int(11) NOT NULL DEFAULT 0,
- `ExitAnimEnd` int(11) NOT NULL DEFAULT 0,
+ `ExitAnimStart` INT NOT NULL DEFAULT 0,
+ `ExitAnimLoop` INT NOT NULL DEFAULT 0,
+ `ExitAnimEnd` INT NOT NULL DEFAULT 0,
`PassengerYaw` float NOT NULL DEFAULT 0,
`PassengerPitch` float NOT NULL DEFAULT 0,
`PassengerRoll` float NOT NULL DEFAULT 0,
- `PassengerAttachmentID` int(11) NOT NULL DEFAULT 0,
- `VehicleEnterAnim` int(11) NOT NULL DEFAULT 0,
- `VehicleExitAnim` int(11) NOT NULL DEFAULT 0,
- `VehicleRideAnimLoop` int(11) NOT NULL DEFAULT 0,
- `VehicleEnterAnimBone` int(11) NOT NULL DEFAULT 0,
- `VehicleExitAnimBone` int(11) NOT NULL DEFAULT 0,
- `VehicleRideAnimLoopBone` int(11) NOT NULL DEFAULT 0,
+ `PassengerAttachmentID` INT NOT NULL DEFAULT 0,
+ `VehicleEnterAnim` INT NOT NULL DEFAULT 0,
+ `VehicleExitAnim` INT NOT NULL DEFAULT 0,
+ `VehicleRideAnimLoop` INT NOT NULL DEFAULT 0,
+ `VehicleEnterAnimBone` INT NOT NULL DEFAULT 0,
+ `VehicleExitAnimBone` INT NOT NULL DEFAULT 0,
+ `VehicleRideAnimLoopBone` INT NOT NULL DEFAULT 0,
`VehicleEnterAnimDelay` float NOT NULL DEFAULT 0,
`VehicleExitAnimDelay` float NOT NULL DEFAULT 0,
- `VehicleAbilityDisplay` int(11) NOT NULL DEFAULT 0,
- `EnterUISoundID` int(11) NOT NULL DEFAULT 0,
- `ExitUISoundID` int(11) NOT NULL DEFAULT 0,
- `UiSkin` int(11) NOT NULL DEFAULT 0,
- `FlagsB` int(11) NOT NULL DEFAULT 0,
+ `VehicleAbilityDisplay` INT NOT NULL DEFAULT 0,
+ `EnterUISoundID` INT NOT NULL DEFAULT 0,
+ `ExitUISoundID` INT NOT NULL DEFAULT 0,
+ `UiSkin` INT NOT NULL DEFAULT 0,
+ `FlagsB` INT NOT NULL DEFAULT 0,
`CameraEnteringDelay` float NOT NULL DEFAULT 0,
`CameraEnteringDuration` float NOT NULL DEFAULT 0,
`CameraExitingDelay` float NOT NULL DEFAULT 0,
@@ -68,7 +68,7 @@ CREATE TABLE `vehicleseat_dbc`
`CameraSeatZoomMin` float NOT NULL DEFAULT 0,
`CameraSeatZoomMax` float NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `vehicleseat_dbc` WRITE;
diff --git a/data/sql/base/db_world/version.sql b/data/sql/base/db_world/version.sql
index d3e40f6d72..43b5b2c10c 100644
--- a/data/sql/base/db_world/version.sql
+++ b/data/sql/base/db_world/version.sql
@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `version`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `version`
(
`core_version` varchar(255) NOT NULL DEFAULT '' COMMENT 'Core revision dumped at startup.',
`core_revision` varchar(120) DEFAULT NULL,
`db_version` varchar(120) DEFAULT NULL COMMENT 'Version of world DB.',
- `cache_id` int(11) DEFAULT 0,
+ `cache_id` INT DEFAULT 0,
PRIMARY KEY (`core_version`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Version Notes';
+) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 COMMENT='Version Notes';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `version` WRITE;
diff --git a/data/sql/base/db_world/version_db_world.sql b/data/sql/base/db_world/version_db_world.sql
index 6a347b068d..6f135d299e 100644
--- a/data/sql/base/db_world/version_db_world.sql
+++ b/data/sql/base/db_world/version_db_world.sql
@@ -6,7 +6,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `version_db_world`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `version_db_world`
(
`sql_rev` varchar(100) NOT NULL,
@@ -15,7 +15,7 @@ CREATE TABLE `version_db_world`
PRIMARY KEY (`sql_rev`),
KEY `required` (`required_rev`),
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_world` (`sql_rev`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `version_db_world` WRITE;
diff --git a/data/sql/base/db_world/warden_checks.sql b/data/sql/base/db_world/warden_checks.sql
index af27825ecf..f597faeafe 100644
--- a/data/sql/base/db_world/warden_checks.sql
+++ b/data/sql/base/db_world/warden_checks.sql
@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `warden_checks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `warden_checks`
(
- `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
- `type` tinyint(3) unsigned DEFAULT NULL,
+ `id` SMALLINT unsigned NOT NULL AUTO_INCREMENT,
+ `type` TINYINT unsigned DEFAULT NULL,
`data` varchar(48) DEFAULT NULL,
`str` varchar(170) DEFAULT NULL,
- `address` int(10) unsigned DEFAULT NULL,
- `length` tinyint(3) unsigned DEFAULT NULL,
+ `address` INT unsigned DEFAULT NULL,
+ `length` TINYINT unsigned DEFAULT NULL,
`result` varchar(24) DEFAULT NULL,
`comment` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=MyISAM AUTO_INCREMENT=793 DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM AUTO_INCREMENT=793 DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `warden_checks` WRITE;
diff --git a/data/sql/base/db_world/waypoint_data.sql b/data/sql/base/db_world/waypoint_data.sql
index 9095a4f7af..e0e3e4bd45 100644
--- a/data/sql/base/db_world/waypoint_data.sql
+++ b/data/sql/base/db_world/waypoint_data.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `waypoint_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `waypoint_data`
(
- `id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Creature GUID',
- `point` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Creature GUID',
+ `point` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
- `delay` int(10) unsigned NOT NULL DEFAULT 0,
- `move_type` int(11) NOT NULL DEFAULT 0,
- `action` int(11) NOT NULL DEFAULT 0,
- `action_chance` smallint(6) NOT NULL DEFAULT 100,
- `wpguid` int(11) unsigned NOT NULL DEFAULT 0,
+ `delay` INT unsigned NOT NULL DEFAULT 0,
+ `move_type` INT NOT NULL DEFAULT 0,
+ `action` INT NOT NULL DEFAULT 0,
+ `action_chance` SMALLINT NOT NULL DEFAULT 100,
+ `wpguid` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`point`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `waypoint_data` WRITE;
diff --git a/data/sql/base/db_world/waypoint_scripts.sql b/data/sql/base/db_world/waypoint_scripts.sql
index 501abec400..19caecf982 100644
--- a/data/sql/base/db_world/waypoint_scripts.sql
+++ b/data/sql/base/db_world/waypoint_scripts.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `waypoint_scripts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `waypoint_scripts`
(
- `id` int(11) unsigned NOT NULL DEFAULT 0,
- `delay` int(11) unsigned NOT NULL DEFAULT 0,
- `command` int(11) unsigned NOT NULL DEFAULT 0,
- `datalong` int(11) unsigned NOT NULL DEFAULT 0,
- `datalong2` int(11) unsigned NOT NULL DEFAULT 0,
- `dataint` int(11) unsigned NOT NULL DEFAULT 0,
+ `id` INT unsigned NOT NULL DEFAULT 0,
+ `delay` INT unsigned NOT NULL DEFAULT 0,
+ `command` INT unsigned NOT NULL DEFAULT 0,
+ `datalong` INT unsigned NOT NULL DEFAULT 0,
+ `datalong2` INT unsigned NOT NULL DEFAULT 0,
+ `dataint` INT unsigned NOT NULL DEFAULT 0,
`x` float NOT NULL DEFAULT 0,
`y` float NOT NULL DEFAULT 0,
`z` float NOT NULL DEFAULT 0,
`o` float NOT NULL DEFAULT 0,
- `guid` int(11) NOT NULL DEFAULT 0,
+ `guid` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `waypoint_scripts` WRITE;
diff --git a/data/sql/base/db_world/waypoints.sql b/data/sql/base/db_world/waypoints.sql
index 40860b105d..610fb77fa5 100644
--- a/data/sql/base/db_world/waypoints.sql
+++ b/data/sql/base/db_world/waypoints.sql
@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `waypoints`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `waypoints`
(
- `entry` mediumint(8) unsigned NOT NULL DEFAULT 0,
- `pointid` mediumint(8) unsigned NOT NULL DEFAULT 0,
+ `entry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
+ `pointid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`position_x` float NOT NULL DEFAULT 0,
`position_y` float NOT NULL DEFAULT 0,
`position_z` float NOT NULL DEFAULT 0,
`point_comment` text DEFAULT NULL,
PRIMARY KEY (`entry`,`pointid`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature waypoints';
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=FIXED COMMENT='Creature waypoints';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `waypoints` WRITE;
diff --git a/data/sql/base/db_world/wmoareatable_dbc.sql b/data/sql/base/db_world/wmoareatable_dbc.sql
index 2879eda18b..4de4fac7b0 100644
--- a/data/sql/base/db_world/wmoareatable_dbc.sql
+++ b/data/sql/base/db_world/wmoareatable_dbc.sql
@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `wmoareatable_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `wmoareatable_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `WMOID` int(11) NOT NULL DEFAULT 0,
- `NameSetID` int(11) NOT NULL DEFAULT 0,
- `WMOGroupID` int(11) NOT NULL DEFAULT 0,
- `SoundProviderPref` int(11) NOT NULL DEFAULT 0,
- `SoundProviderPrefUnderwater` int(11) NOT NULL DEFAULT 0,
- `AmbienceID` int(11) NOT NULL DEFAULT 0,
- `ZoneMusic` int(11) NOT NULL DEFAULT 0,
- `IntroSound` int(11) NOT NULL DEFAULT 0,
- `Flags` int(11) NOT NULL DEFAULT 0,
- `AreaTableID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `WMOID` INT NOT NULL DEFAULT 0,
+ `NameSetID` INT NOT NULL DEFAULT 0,
+ `WMOGroupID` INT NOT NULL DEFAULT 0,
+ `SoundProviderPref` INT NOT NULL DEFAULT 0,
+ `SoundProviderPrefUnderwater` INT NOT NULL DEFAULT 0,
+ `AmbienceID` INT NOT NULL DEFAULT 0,
+ `ZoneMusic` INT NOT NULL DEFAULT 0,
+ `IntroSound` INT NOT NULL DEFAULT 0,
+ `Flags` INT NOT NULL DEFAULT 0,
+ `AreaTableID` INT NOT NULL DEFAULT 0,
`AreaName_Lang_enUS` varchar(100) DEFAULT NULL,
`AreaName_Lang_enGB` varchar(100) DEFAULT NULL,
`AreaName_Lang_koKR` varchar(100) DEFAULT NULL,
@@ -36,9 +36,9 @@ CREATE TABLE `wmoareatable_dbc`
`AreaName_Lang_ptBR` varchar(100) DEFAULT NULL,
`AreaName_Lang_itIT` varchar(100) DEFAULT NULL,
`AreaName_Lang_Unk` varchar(100) DEFAULT NULL,
- `AreaName_Lang_Mask` int(10) unsigned NOT NULL DEFAULT 0,
+ `AreaName_Lang_Mask` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `wmoareatable_dbc` WRITE;
diff --git a/data/sql/base/db_world/worldmaparea_dbc.sql b/data/sql/base/db_world/worldmaparea_dbc.sql
index 4d10dba849..0b4a2d7a70 100644
--- a/data/sql/base/db_world/worldmaparea_dbc.sql
+++ b/data/sql/base/db_world/worldmaparea_dbc.sql
@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `worldmaparea_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `worldmaparea_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `MapID` int(11) NOT NULL DEFAULT 0,
- `AreaID` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `MapID` INT NOT NULL DEFAULT 0,
+ `AreaID` INT NOT NULL DEFAULT 0,
`AreaName` varchar(100) DEFAULT NULL,
`LocLeft` float NOT NULL DEFAULT 0,
`LocRight` float NOT NULL DEFAULT 0,
`LocTop` float NOT NULL DEFAULT 0,
`LocBottom` float NOT NULL DEFAULT 0,
- `DisplayMapID` int(11) NOT NULL DEFAULT 0,
- `DefaultDungeonFloor` int(11) NOT NULL DEFAULT 0,
- `ParentWorldMapID` int(11) NOT NULL DEFAULT 0,
+ `DisplayMapID` INT NOT NULL DEFAULT 0,
+ `DefaultDungeonFloor` INT NOT NULL DEFAULT 0,
+ `ParentWorldMapID` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `worldmaparea_dbc` WRITE;
diff --git a/data/sql/base/db_world/worldmapoverlay_dbc.sql b/data/sql/base/db_world/worldmapoverlay_dbc.sql
index d2b195b1d8..45e5fdfc0d 100644
--- a/data/sql/base/db_world/worldmapoverlay_dbc.sql
+++ b/data/sql/base/db_world/worldmapoverlay_dbc.sql
@@ -6,28 +6,28 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `worldmapoverlay_dbc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `worldmapoverlay_dbc`
(
- `ID` int(11) NOT NULL DEFAULT 0,
- `MapAreaID` int(11) NOT NULL DEFAULT 0,
- `AreaID_1` int(11) NOT NULL DEFAULT 0,
- `AreaID_2` int(11) NOT NULL DEFAULT 0,
- `AreaID_3` int(11) NOT NULL DEFAULT 0,
- `AreaID_4` int(11) NOT NULL DEFAULT 0,
- `MapPointX` int(11) NOT NULL DEFAULT 0,
- `MapPointY` int(11) NOT NULL DEFAULT 0,
+ `ID` INT NOT NULL DEFAULT 0,
+ `MapAreaID` INT NOT NULL DEFAULT 0,
+ `AreaID_1` INT NOT NULL DEFAULT 0,
+ `AreaID_2` INT NOT NULL DEFAULT 0,
+ `AreaID_3` INT NOT NULL DEFAULT 0,
+ `AreaID_4` INT NOT NULL DEFAULT 0,
+ `MapPointX` INT NOT NULL DEFAULT 0,
+ `MapPointY` INT NOT NULL DEFAULT 0,
`TextureName` varchar(100) DEFAULT NULL,
- `TextureWidth` int(11) NOT NULL DEFAULT 0,
- `TextureHeight` int(11) NOT NULL DEFAULT 0,
- `OffsetX` int(11) NOT NULL DEFAULT 0,
- `OffsetY` int(11) NOT NULL DEFAULT 0,
- `HitRectTop` int(11) NOT NULL DEFAULT 0,
- `HitRectLeft` int(11) NOT NULL DEFAULT 0,
- `HitRectBottom` int(11) NOT NULL DEFAULT 0,
- `HitRectRight` int(11) NOT NULL DEFAULT 0,
+ `TextureWidth` INT NOT NULL DEFAULT 0,
+ `TextureHeight` INT NOT NULL DEFAULT 0,
+ `OffsetX` INT NOT NULL DEFAULT 0,
+ `OffsetY` INT NOT NULL DEFAULT 0,
+ `HitRectTop` INT NOT NULL DEFAULT 0,
+ `HitRectLeft` INT NOT NULL DEFAULT 0,
+ `HitRectBottom` INT NOT NULL DEFAULT 0,
+ `HitRectRight` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `worldmapoverlay_dbc` WRITE;
diff --git a/data/sql/create/create_mysql.sql b/data/sql/create/create_mysql.sql
index 9f383a10cb..3d6834b6bc 100644
--- a/data/sql/create/create_mysql.sql
+++ b/data/sql/create/create_mysql.sql
@@ -3,11 +3,11 @@ CREATE USER 'acore'@'localhost' IDENTIFIED BY 'acore' WITH MAX_QUERIES_PER_HOUR
GRANT ALL PRIVILEGES ON * . * TO 'acore'@'localhost' WITH GRANT OPTION;
-CREATE DATABASE `acore_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+CREATE DATABASE `acore_world` DEFAULT CHARACTER SET UTF8MB4 COLLATE utf8mb4_general_ci;
-CREATE DATABASE `acore_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+CREATE DATABASE `acore_characters` DEFAULT CHARACTER SET UTF8MB4 COLLATE utf8mb4_general_ci;
-CREATE DATABASE `acore_auth` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+CREATE DATABASE `acore_auth` DEFAULT CHARACTER SET UTF8MB4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES ON `acore_world` . * TO 'acore'@'localhost' WITH GRANT OPTION;
diff --git a/data/sql/updates/db_auth/2021_03_23_00.sql b/data/sql/updates/db_auth/2021_03_23_00.sql
index da84395e69..0d43ec8d00 100644
--- a/data/sql/updates/db_auth/2021_03_23_00.sql
+++ b/data/sql/updates/db_auth/2021_03_23_00.sql
@@ -20,7 +20,7 @@ CHARSET = 'utf8',
MODIFY `mutedby` varchar(50) NOT NULL,
MODIFY `mutereason` varchar(255) NOT NULL;
ALTER TABLE `logs`
-CHARSET = 'utf8',
+CHARSET = 'utf8mb4',
MODIFY `string` text;
--
diff --git a/data/sql/updates/db_world/2021_02_03_02.sql b/data/sql/updates/db_world/2021_02_03_02.sql
index 0acfd6a500..e3303587ba 100644
--- a/data/sql/updates/db_world/2021_02_03_02.sql
+++ b/data/sql/updates/db_world/2021_02_03_02.sql
@@ -16,7 +16,7 @@ SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '161176926458895660
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1611769264588956600');
-ALTER TABLE `creature_template` ADD COLUMN `spell_school_immune_mask` INT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `mechanic_immune_mask`;
+ALTER TABLE `creature_template` ADD COLUMN `spell_school_immune_mask` INT UNSIGNED NOT NULL DEFAULT 0 AFTER `mechanic_immune_mask`;
-- Imported from TrinityCore
-- SPELL_SCHOOL_NORMAL