1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

Updates for topic_first_id, NOTE that these basics include a new updated subSilver entry that appears to produce some strange results at present ...

git-svn-id: file:///svn/phpbb/trunk@2037 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2002-02-02 18:10:53 +00:00
parent 0b609899e3
commit baa71e4e1e
7 changed files with 50 additions and 37 deletions

View File

@@ -400,12 +400,14 @@ CREATE TABLE phpbb_topics (
topic_status int2 DEFAULT '0' NOT NULL,
topic_vote int2 DEFAULT '0' NOT NULL,
topic_type int2 DEFAULT '0' NOT NULL,
topic_moved_id int4 DEFAULT '0' NOT NULL,
topic_first_post_id int4 DEFAULT '0' NOT NULL,
topic_last_post_id int4 DEFAULT '0' NOT NULL,
topic_moved_id int4 DEFAULT '0' NOT NULL,
CONSTRAINT phpbb_topics_pkey PRIMARY KEY (topic_id)
);
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_first_post_id_phpbb_topics_index ON phpbb_topics (topic_first_post_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);