refactor: real hero check to use a lot less queries

This commit is contained in:
Martin Ambrus
2017-11-17 13:28:21 +01:00
parent bec487cad5
commit 282d7f9db8
3 changed files with 32 additions and 31 deletions
+5
View File
@@ -1,3 +1,8 @@
-- 17.11.2017 -> query optimizations
ALTER TABLE `s1_prisoners` DROP INDEX `from`, ADD INDEX `from-t11` (`from`, `t11`);
ALTER TABLE `s1_enforcement` DROP INDEX `from`, ADD INDEX `from` (`from`, `hero`) USING BTREE;
-- 8.11.2017 -> query optimizations and cleanups
ALTER TABLE `s1_ww_attacks` ADD INDEX(`vid`);