mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Implementing post reporting. 2 new tables plus an extra field for posts and topics tables.
git-svn-id: file:///svn/phpbb/trunk@3603 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -332,6 +332,7 @@ CREATE TABLE phpbb_posts (
|
||||
poster_ip varchar(40) NOT NULL,
|
||||
post_time int(11) DEFAULT '0' NOT NULL,
|
||||
post_approved tinyint(1) DEFAULT '1' NOT NULL,
|
||||
post_reported tinyint(1) DEFAULT '0' NOT NULL,
|
||||
enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
|
||||
enable_html tinyint(1) DEFAULT '0' NOT NULL,
|
||||
enable_smilies tinyint(1) DEFAULT '1' NOT NULL,
|
||||
@@ -415,6 +416,34 @@ CREATE TABLE phpbb_ratings (
|
||||
);
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
# Table structure for table 'phpbb_reports_reasons'
|
||||
#
|
||||
CREATE TABLE phpbb_reports_reasons (
|
||||
reason_id smallint(6) NOT NULL auto_increment,
|
||||
reason_priority tinyint(4) NOT NULL default '0',
|
||||
reason_name varchar(255) NOT NULL default '',
|
||||
reason_description text NOT NULL,
|
||||
PRIMARY KEY (reason_id)
|
||||
);
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
# Table structure for table 'phpbb_reports'
|
||||
#
|
||||
CREATE TABLE phpbb_reports (
|
||||
report_id smallint(5) unsigned NOT NULL auto_increment,
|
||||
reason_id smallint(5) unsigned NOT NULL default '0',
|
||||
post_id mediumint(8) unsigned NOT NULL default '0',
|
||||
user_id mediumint(8) unsigned NOT NULL default '0',
|
||||
report_time int(10) unsigned NOT NULL default '0',
|
||||
report_text text NOT NULL,
|
||||
PRIMARY KEY (report_id)
|
||||
);
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
# Table structure for table `phpbb_search_results`
|
||||
@@ -614,6 +643,7 @@ CREATE TABLE phpbb_topics (
|
||||
forum_id smallint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
icon_id tinyint(4) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
topic_approved tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
topic_reported tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_title varchar(60) NOT NULL,
|
||||
topic_poster mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_time int(11) DEFAULT '0' NOT NULL,
|
||||
|
Reference in New Issue
Block a user