mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Add fields for forum/topic post count incrementing and topic moderation
git-svn-id: file:///svn/phpbb/trunk@2612 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
9f0f335812
commit
d75291c5d2
1 changed files with 5 additions and 1 deletions
|
@ -130,6 +130,7 @@ CREATE TABLE phpbb_forums (
|
||||||
forum_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
forum_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
forum_topics mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
forum_topics mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
forum_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
forum_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
increment_post_count tinyint(1) DEFAULT '1' NOT NULL,
|
||||||
prune_next int(11),
|
prune_next int(11),
|
||||||
prune_enable tinyint(1) DEFAULT '0' NOT NULL,
|
prune_enable tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
auth_view tinyint(2) DEFAULT '0' NOT NULL,
|
auth_view tinyint(2) DEFAULT '0' NOT NULL,
|
||||||
|
@ -434,9 +435,11 @@ CREATE TABLE phpbb_topics (
|
||||||
topic_time int(11) DEFAULT '0' NOT NULL,
|
topic_time int(11) DEFAULT '0' NOT NULL,
|
||||||
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
topic_approved tinyint(1) DEFAULT '1' NOT NULL,
|
||||||
topic_status tinyint(3) DEFAULT '0' NOT NULL,
|
topic_status tinyint(3) DEFAULT '0' NOT NULL,
|
||||||
topic_vote tinyint(1) DEFAULT '0' NOT NULL,
|
topic_vote tinyint(1) DEFAULT '0' NOT NULL,
|
||||||
topic_type tinyint(3) DEFAULT '0' NOT NULL,
|
topic_type tinyint(3) DEFAULT '0' NOT NULL,
|
||||||
|
increment_post_count tinyint(1) DEFAULT '1' NOT NULL,
|
||||||
topic_first_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_first_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
topic_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_last_post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
@ -462,6 +465,7 @@ CREATE TABLE phpbb_topics_watch (
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Table structure for table 'phpbb_users'
|
# Table structure for table 'phpbb_users'
|
||||||
|
|
Loading…
Add table
Reference in a new issue