aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2012-04-26 10:37:37 +0100
committerBruno Ais <brunoaiss@gmail.com>2012-05-01 12:44:16 +0100
commitf3e5acf3776083ec39052a3b8bf179638703d47e (patch)
tree5b603cb843576551cc73a8bd6e63e9843d73b2ef /phpBB/develop
parent417caa649a5fb87afa32a8a8f3600b591dddcce0 (diff)
downloadforums-f3e5acf3776083ec39052a3b8bf179638703d47e.tar
forums-f3e5acf3776083ec39052a3b8bf179638703d47e.tar.gz
forums-f3e5acf3776083ec39052a3b8bf179638703d47e.tar.bz2
forums-f3e5acf3776083ec39052a3b8bf179638703d47e.tar.xz
forums-f3e5acf3776083ec39052a3b8bf179638703d47e.zip
[ticket/10845] Changed the report system. Now it saves posts with the bbcode
Now the bitfield and uid of the bbcode is saved in the reports table. This will allow parsing the BBCode while loading the post to show PHPBB3-10845
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php22
1 files changed, 12 insertions, 10 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 4088657743..f27c9745a1 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1519,16 +1519,18 @@ function get_schema_struct()
$schema_data['phpbb_reports'] = array(
'COLUMNS' => array(
- 'report_id' => array('UINT', NULL, 'auto_increment'),
- 'reason_id' => array('USINT', 0),
- 'post_id' => array('UINT', 0),
- 'pm_id' => array('UINT', 0),
- 'user_id' => array('UINT', 0),
- 'user_notify' => array('BOOL', 0),
- 'report_closed' => array('BOOL', 0),
- 'report_time' => array('TIMESTAMP', 0),
- 'report_text' => array('MTEXT_UNI', ''),
- 'reported_post_text' => array('MTEXT_UNI', ''),
+ 'report_id' => array('UINT', NULL, 'auto_increment'),
+ 'reason_id' => array('USINT', 0),
+ 'post_id' => array('UINT', 0),
+ 'pm_id' => array('UINT', 0),
+ 'user_id' => array('UINT', 0),
+ 'user_notify' => array('BOOL', 0),
+ 'report_closed' => array('BOOL', 0),
+ 'report_time' => array('TIMESTAMP', 0),
+ 'report_text' => array('MTEXT_UNI', ''),
+ 'reported_post_text' => array('MTEXT_UNI', ''),
+ 'reported_post_uid' => array('VCHAR:8', ''),
+ 'reported_post_bitfield' => array('VCHAR:255', ''),
),
'PRIMARY_KEY' => 'report_id',
'KEYS' => array(