Some SQL and indexes improvements

This commit is contained in:
Michael Foster committed 2013-09-01 02:04:42 +10:00
1 parent c567131ca7
commit b51fc38783
5 files changed
+38 -21

No files matched your search

+1 -1
View File
@@ -27,8 +27,8 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` (
`embed` text,
UNIQUE KEY `id` (`id`),
KEY `thread_id` (`thread`,`id`),
KEY `filehash` (`filehash`),
KEY `time` (`time`),
FULLTEXT KEY `body` (`body`),
KEY `ip` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;