1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

Added index on topic_type (topics table)

git-svn-id: file:///svn/phpbb/trunk@1844 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2002-01-11 13:15:49 +00:00
parent b3c8f779d6
commit 5792aeeb85
2 changed files with 3 additions and 1 deletions

View File

@ -428,7 +428,8 @@ CREATE TABLE phpbb_topics (
PRIMARY KEY (topic_id),
KEY forum_id (forum_id),
KEY topic_moved_id (topic_moved_id),
KEY topic_status (topic_status)
KEY topic_status (topic_status),
KEY topic_type (topic_type)
);

View File

@ -408,6 +408,7 @@ CREATE INDEX forum_id_phpbb_topics_index ON phpbb_topics (forum_id);
CREATE INDEX topic_moved_id_phpbb_topics_index ON phpbb_topics (topic_moved_id);
CREATE INDEX topic_last_post_id_phpbb_topics_index ON phpbb_topics (topic_last_post_id);
CREATE INDEX topic_status_phpbb_topics_index ON phpbb_topics (topic_status);
CREATE INDEX topic_type_phpbb_topics_index ON phpbb_topics (topic_type);
/* --------------------------------------------------------