mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/Schema: Add index to characters.character_pet.slot. Prevents deadlocks when operating on this table.
This commit is contained in:
@@ -743,7 +743,8 @@ CREATE TABLE `character_pet` (
|
||||
`resettalents_time` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`abdata` text,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `owner` (`owner`)
|
||||
KEY `owner` (`owner`),
|
||||
KEY `idx_slot` (`slot`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user