From cf3173d226271c59eab1fe841baec6ec309771f3 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 1 Sep 2013 09:57:09 +1000 Subject: [PATCH] Fix issue #136 --- templates/posts.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/posts.sql b/templates/posts.sql index 0b0e32b9..b35865ca 100644 --- a/templates/posts.sql +++ b/templates/posts.sql @@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` ( `embed` text, UNIQUE KEY `id` (`id`), KEY `thread_id` (`thread`,`id`), - KEY `filehash` (`filehash`), + KEY `filehash` (`filehash`(40)), KEY `time` (`time`), KEY `ip` (`ip`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;