git-svn-id: file:///svn/phpbb/trunk@1551 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-11 02:41:47 +00:00
parent 1e11060934
commit dea6471387
2 changed files with 4 additions and 3 deletions

View file

@ -287,7 +287,7 @@ CREATE TABLE [phpbb_topics] (
[topic_status] [smallint] NOT NULL ,
[topic_type] [smallint] NOT NULL ,
[topic_vote] [smallint] NOT NULL ,
[topic_last_post_id] [int] NULL ,
[topic_last_post_id] [int] NOT NULL ,
[topic_moved_id] [int] NULL
) ON [PRIMARY]
GO
@ -560,7 +560,8 @@ ALTER TABLE [phpbb_topics] WITH NOCHECK ADD
CONSTRAINT [DF_phpbb_topics_topic_replies] DEFAULT (0) FOR [topic_replies],
CONSTRAINT [DF_phpbb_topics_topic_status] DEFAULT (0) FOR [topic_status],
CONSTRAINT [DF_phpbb_topics_topic_type] DEFAULT (0) FOR [topic_type],
CONSTRAINT [DF_phpbb_topics_topic_vote] DEFAULT (0) FOR [topic_vote]
CONSTRAINT [DF_phpbb_topics_topic_vote] DEFAULT (0) FOR [topic_vote],
CONSTRAINT [DF_phpbb_topics_topic_moved_id] DEFAULT (0) FOR topic_moved_id
GO
ALTER TABLE [phpbb_users] WITH NOCHECK ADD

View file

@ -426,7 +426,7 @@ CREATE TABLE phpbb_topics (
topic_vote tinyint(1) DEFAULT '0' NOT NULL,
topic_type tinyint(3) DEFAULT '0' NOT NULL,
topic_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_moved_id mediumint(8) UNSIGNED,
topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (topic_id),
KEY forum_id (forum_id),
KEY topic_moved_id (topic_moved_id),