summaryrefslogtreecommitdiff
path: root/templates/posts.sql
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-28 12:41:36 -0400
committerczaks <marcin@6irc.net>2013-08-28 12:41:36 -0400
commit8503e65858ce3145a11f8daec4104e3a7249c889 (patch)
treec619ac3da567cacb96ed9b95a75bb3c1cbbcc87a /templates/posts.sql
parent753b67aa71963f32ec3c3bc7c18f53bb00f2e4f8 (diff)
parent7a4e481333c3ab39ea63c2d961a7c05016b12460 (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: inc/config.php inc/functions.php install.php stylesheets/dark_roach.css
Diffstat (limited to 'templates/posts.sql')
-rw-r--r--templates/posts.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/posts.sql b/templates/posts.sql
index 4eef3a0d..1e092985 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -28,6 +28,7 @@ CREATE TABLE IF NOT EXISTS ``posts_{{ board }}`` (
UNIQUE KEY `id` (`id`),
KEY `thread_id` (`thread`,`id`),
KEY `time` (`time`),
- FULLTEXT KEY `body` (`body`)
+ FULLTEXT KEY `body` (`body`),
+ KEY `ip` (`ip`),
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
\ No newline at end of file