add indexes

This commit is contained in:
Savetheinternet 2011-10-02 23:34:31 +11:00
parent d4f1322ee8
commit 55743a7705
3 changed files with 22 additions and 5 deletions

View file

@ -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`