mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 00:19:59 +01:00
[8332] Add non-unique key accid for realmcharacters table for speedup queries by this field. Author: rilex
Just note about related _not_ mangos bug: this table _expected_ to have primary key by pair (`realmid`,`acctid`).
If used DB not have it for table, then this wrongly setup of DB.
--HG--
branch : trunk
This commit is contained in:
4
sql/updates/4859_8332_01_realmd_realmcharacters.sql
Normal file
4
sql/updates/4859_8332_01_realmd_realmcharacters.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- ALTER TABLE realmd_db_version CHANGE COLUMN required_7938_01_realmd_account required_8332_01_realmd_realmcharacters bit;
|
||||
|
||||
ALTER TABLE realmcharacters
|
||||
ADD KEY (acctid);
|
||||
Reference in New Issue
Block a user