aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/create_schema_files.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-14 18:30:12 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-14 18:30:12 -0500
commit7589a3093d95048f5a8cfdc6259501f43fd3fe10 (patch)
tree11ee8fba752f6350c60e8fc411c3db63fdade518 /phpBB/develop/create_schema_files.php
parent959c81d00e830e89fa9d583ee93bf8f166013fe0 (diff)
downloadforums-7589a3093d95048f5a8cfdc6259501f43fd3fe10.tar
forums-7589a3093d95048f5a8cfdc6259501f43fd3fe10.tar.gz
forums-7589a3093d95048f5a8cfdc6259501f43fd3fe10.tar.bz2
forums-7589a3093d95048f5a8cfdc6259501f43fd3fe10.tar.xz
forums-7589a3093d95048f5a8cfdc6259501f43fd3fe10.zip
[ticket/11103] Display all unread notifications by default
Add unread count to the page title PHPBB3-11103
Diffstat (limited to 'phpBB/develop/create_schema_files.php')
-rw-r--r--phpBB/develop/create_schema_files.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 0483ae009d..a1bef4a85a 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1297,6 +1297,7 @@ function get_schema_struct()
$schema_data['phpbb_notifications'] = array(
'COLUMNS' => array(
+ 'notification_id' => array('UINT', NULL, 'auto_increment'),
'item_type' => array('VCHAR:25', ''),
'item_id' => array('UINT', 0),
'item_parent_id' => array('UINT', 0),
@@ -1305,11 +1306,7 @@ function get_schema_struct()
'time' => array('TIMESTAMP', 1),
'data' => array('TEXT_UNI', ''),
),
- 'PRIMARY_KEY' => array(
- 'item_type',
- 'item_id',
- 'user_id',
- ),
+ 'PRIMARY_KEY' => 'notification_id',
'KEYS' => array(
'item_type' => array('INDEX', 'item_type'),
'item_id' => array('INDEX', 'item_id'),