diff --git a/sql_updates.txt b/sql_updates.txt index 3cf690cb..a9200a82 100644 --- a/sql_updates.txt +++ b/sql_updates.txt @@ -1,9 +1,14 @@ +-- 8.11.2017 -> query optimizations and cleanups +ALTER TABLE `s1_ww_attacks` ADD INDEX(`vid`); + + -- 2.11.2017 -> Hero fixes ALTER TABLE `s1_hero` ADD INDEX(`lastupdate`); ALTER TABLE `s1_hero` DROP INDEX `uid`, ADD INDEX `uid` (`uid`, `dead`) USING BTREE; ALTER TABLE `s1_hero` ADD INDEX(`inrevive`); ALTER TABLE `s1_hero` ADD INDEX(`intraining`); + -- 31.10.2017 -> Embassy and alliance updates ALTER TABLE `s1_ali_permission` ADD INDEX(`alliance`); ALTER TABLE `s1_allimedal` ADD INDEX(`allyid`); diff --git a/var/db/struct.sql b/var/db/struct.sql index 5a3869e6..5e142270 100644 --- a/var/db/struct.sql +++ b/var/db/struct.sql @@ -1709,7 +1709,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%password` ( CREATE TABLE IF NOT EXISTS `%PREFIX%ww_attacks` ( `vid` int(25) DEFAULT NULL, `attack_time` int(11) DEFAULT NULL, - KEY `attack_time` (`attack_time`) + KEY `attack_time` (`attack_time`), + KEY `vid` (`vid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; --