Add missing stickied/moderated indexes to creation SQL

This commit is contained in:
Trevor Slocum 2014-10-17 16:37:52 -07:00
parent 2f54b75570
commit 1b2c60de4d
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ $posts_sql = "CREATE TABLE `" . TINYIB_DBPOSTS . "` (
`moderated` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`id`),
KEY `parent` (`parent`),
KEY `bumped` (`bumped`)
KEY `bumped` (`bumped`),
KEY `stickied` (`stickied`),
KEY `moderated` (`moderated`)
)";
$bans_sql = "CREATE TABLE `" . TINYIB_DBBANS . "` (