forked from leftypol/leftypol
New index in post tables for listing threads slightly faster (index pages)
This commit is contained in:
parent
cf3173d226
commit
22fcca343f
2 changed files with 8 additions and 2 deletions
|
@ -29,6 +29,7 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` (
|
|||
KEY `thread_id` (`thread`,`id`),
|
||||
KEY `filehash` (`filehash`(40)),
|
||||
KEY `time` (`time`),
|
||||
KEY `ip` (`ip`)
|
||||
KEY `ip` (`ip`),
|
||||
KEY `list_threads` (`thread`, `sticky`, `bump`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue