summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-09-01 11:25:19 -0400
committerczaks <marcin@6irc.net>2013-09-01 11:25:19 -0400
commit069f1def9bf8c8d769afdc5740e9ff13271065bd (patch)
treed60db9e7126ecb0e046b34c3faa3b49ca7bfd32e /templates
parentc2400568656e6bb8e629704d312322937d24fb2d (diff)
parent22fcca343f8d4e820745a673972286b47a6a17ba (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: install.php
Diffstat (limited to 'templates')
-rw-r--r--templates/posts.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/posts.sql b/templates/posts.sql
index e41a7f38..c1f491f2 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -27,8 +27,9 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` (
`embed` text,
UNIQUE KEY `id` (`id`),
KEY `thread_id` (`thread`,`id`),
+ KEY `filehash` (`filehash`(40)),
KEY `time` (`time`),
- FULLTEXT KEY `body` (`body`),
- KEY `ip` (`ip`)
+ KEY `ip` (`ip`),
+ KEY `list_threads` (`thread`, `sticky`, `bump`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
\ No newline at end of file