[10312] Allow store in DB same spell auras from different casters.

This fix errors at auras save to DB for like cases.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zergtmn 2010-08-03 04:03:42 +04:00 committed by VladimirMangos
parent a48fdd8620
commit 131fb72006
6 changed files with 17 additions and 5 deletions

View file

@ -0,0 +1,4 @@
ALTER TABLE character_db_version CHANGE COLUMN required_10312_01_characters_character_aura required_10312_02_characters_pet_aura bit;
ALTER TABLE `pet_aura` DROP PRIMARY KEY;
ALTER TABLE `pet_aura` ADD PRIMARY KEY (`guid`,`caster_guid`,`spell`);