summaryrefslogtreecommitdiff
path: root/templates/posts.sql
diff options
context:
space:
mode:
Diffstat (limited to 'templates/posts.sql')
-rw-r--r--templates/posts.sql7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/posts.sql b/templates/posts.sql
index 917398bd..6e691044 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -23,5 +23,8 @@ CREATE TABLE IF NOT EXISTS `posts_{board}` (
`sticky` int(1) NOT NULL,
`locked` int(1) NOT NULL,
`embed` text,
- UNIQUE KEY `id` (`id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
+ UNIQUE KEY `id` (`id`),
+ KEY `thread` (`thread`),
+ KEY `time` (`time`),
+ FULLTEXT KEY `body` (`body`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;