mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
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:
+4
-1
@@ -754,7 +754,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_cat` (
|
||||
`display_to_alliances` text,
|
||||
`display_to_users` text,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `alliance-forum_area` (`alliance`,`forum_area`)
|
||||
KEY `alliance-forum_area` (`alliance`,`forum_area`),
|
||||
KEY `display_to_alliances` (`display_to_alliances`(11)),
|
||||
KEY `display_to_users` (`display_to_users`(11)),
|
||||
KEY `sorting` (`sorting`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user