mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
* Add some more transactioncontrol to pet database handling + adjust character_aura keys to avoid duplicates
--HG-- branch : trunk
This commit is contained in:
@@ -531,7 +531,7 @@ CREATE TABLE `character_aura` (
|
||||
`maxduration` int(11) NOT NULL default '0',
|
||||
`remaintime` int(11) NOT NULL default '0',
|
||||
`remaincharges` tinyint(3) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`guid`,`spell`,`effect_mask`)
|
||||
PRIMARY KEY (`guid`,`caster_guid`,`spell`,`effect_mask`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
||||
2
sql/updates/7974_characters_character_aura.sql
Normal file
2
sql/updates/7974_characters_character_aura.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `character_aura` DROP PRIMARY KEY ,
|
||||
ADD PRIMARY KEY ( `guid` , `caster_guid` , `spell`, `effect_mask` )
|
||||
Reference in New Issue
Block a user