Files
TrinityCore2/sql/updates/4346_8098_world.sql
megamage e1d93bd00f *Backup your DB!
[8098] Support uint32 spell ids in code. Author: VladimirMangos

    * Propertly work with uint32 spell ids in player action bar
    * Fix in same time bug with not save equipment set button with id==0
    * Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
    * Propertly load uint32 spell ids from character_spell
    * Fixed types for some pet/creature related structure for spell id storing.

--HG--
branch : trunk
2009-07-01 18:07:20 -05:00

11 lines
361 B
SQL

-- ALTER TABLE db_version CHANGE COLUMN required_8071_01_mangos_command required_8098_02_mangos_playercreateinfo_action bit;
ALTER TABLE playercreateinfo_action
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
UPDATE playercreateinfo_action
SET action = action | ( misc < 16 );
ALTER TABLE playercreateinfo_action
DROP COLUMN misc;