Added some indexes

You can add them without reinstalling the whole server, by executing
this query (where "s1_" is the prefix of your server):

ALTER TABLE `s1_forum_cat` ADD INDEX `display_to_alliances`
(`display_to_alliances`(11));
ALTER TABLE `s1_forum_cat` ADD INDEX `display_to_users`
(`display_to_users`(11));
ALTER TABLE `s1_forum_cat` ADD INDEX `sorting` (`sorting`);
This commit is contained in:
iopietro
2018-05-21 17:43:17 +02:00
parent 0d8ea38f30
commit 3d5239c163
2 changed files with 9 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
-- 21.05.2018 -> added three indexes
ALTER TABLE `s1_forum_cat` ADD INDEX `display_to_alliances` (`display_to_alliances`(11));
ALTER TABLE `s1_forum_cat` ADD INDEX `display_to_users` (`display_to_users`(11));
ALTER TABLE `s1_forum_cat` ADD INDEX `sorting` (`sorting`);
-- 20.05.2018 -> dropped eight columns
ALTER TABLE `s1_forum_topic`
DROP `alliance0`,