Files
TrinityCore2/sql/updates/3.0.9_old/2412_characters.sql
Drahy 3b4e4b8215 * Updated world_script_waypoints
* Updated world_scripts_structure
* Moved older sql files to 3.0.9_old folder and in file 0000_3.0.9_old (sql/updates) are stored all these sqls
* Also created folder Obsolete_updates where you can find unverified sqls
* This should help with sql maintaining

--HG--
branch : trunk
2009-05-09 12:27:41 +02:00

10 lines
837 B
SQL

DELETE FROM `character_aura` WHERE 'effect_index'>'1';
ALTER TABLE `character_aura` CHANGE `effect_index` `effect_mask` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `character_aura` CHANGE `amount` `amount0` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `character_aura` ADD `amount1` INT( 11 ) NOT NULL DEFAULT '0' AFTER `amount0`;
ALTER TABLE `character_aura` ADD `amount2` INT( 11 ) NOT NULL DEFAULT '0' AFTER `amount1`;
DELETE FROM `pet_aura` WHERE 'effect_index'>'1';
ALTER TABLE `pet_aura` CHANGE `effect_index` `effect_mask` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `pet_aura` CHANGE `amount` `amount0` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `pet_aura` ADD `amount1` INT( 11 ) NOT NULL DEFAULT '0' AFTER `amount0`;
ALTER TABLE `pet_aura` ADD `amount2` INT( 11 ) NOT NULL DEFAULT '0' AFTER `amount1`;