diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-02 23:34:31 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-02 23:34:31 +1100 |
| commit | 55743a77054f1a5a5157856bd2c11751892653d2 (patch) | |
| tree | f714c9366ba12de30d3b810d36286b0b728afb14 /install.sql | |
| parent | d4f1322ee8fe6055cd96af4145c8f2d2cbbb5f74 (diff) | |
add indexes
Diffstat (limited to 'install.sql')
| -rw-r--r-- | install.sql | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/install.sql b/install.sql index af5b3f29..210ead99 100644 --- a/install.sql +++ b/install.sql @@ -209,8 +209,11 @@ CREATE TABLE IF NOT EXISTS `posts_b` ( `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 ; -- -- Dumping data for table `posts_b` |
