aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-02-28 18:53:23 -0500
committerDavid King <imkingdavid@gmail.com>2013-02-28 18:53:23 -0500
commit8200509c7940166d560c309c35b2ade2e4952f75 (patch)
tree5f4e89b1fe677520a4310754860a9c85511bb2b0 /phpBB/develop
parent1eead4da97635df35bfcdd6b1ce7ed71d9851d41 (diff)
parentecb9f44bf11756e1072354bfd658edfd4c01f74a (diff)
downloadforums-8200509c7940166d560c309c35b2ade2e4952f75.tar
forums-8200509c7940166d560c309c35b2ade2e4952f75.tar.gz
forums-8200509c7940166d560c309c35b2ade2e4952f75.tar.bz2
forums-8200509c7940166d560c309c35b2ade2e4952f75.tar.xz
forums-8200509c7940166d560c309c35b2ade2e4952f75.zip
Merge remote-tracking branch 'EXreaction/ticket/11103' into develop
# By Nathan Guse (169) and others # Via Nathan Guse (29) and Nathaniel Guse (7) * EXreaction/ticket/11103: (217 commits) [ticket/11103] Revert whitespace changes [ticket/11103] Few more minor language things [ticket/11103] Don't call generate_board_url many times [ticket/11103] Case time in queries as an int [ticket/11103] Fix effectively installed check [ticket/11103] Remove padding from notifications for now. [ticket/11103] Notifications Migration file [ticket/11103] Restore new/unread messages info/link in header (properly) [ticket/11103] Add newlines to bottom of css file [ticket/11103] HTML encode double arrow character [ticket/11103] Add Notification Settings link in flyout menu [ticket/11103] Restore new/unread messages info/link in header [ticket/11103] Update styling of UCP Notifications in subsilver2 [ticket/11103] Update styling of UCP Notifications in prosilver [ticket/11103] Update styling of subsilver2 notification modal [ticket/11103] Update styling of prosilver notification modal [ticket/11103] Remove title attribute from notification link [ticket/11103] Mark/Unmark All buttons [ticket/11103] Make the number of notifications strong if > 0 [ticket/11103] Rounded Corners and antialiased pointer ...
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 550396c7ea..0a48ef58ff 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1308,6 +1308,32 @@ function get_schema_struct()
),
);
+ $schema_data['phpbb_notification_types'] = array(
+ 'COLUMNS' => array(
+ 'notification_type' => array('VCHAR:255', ''),
+ 'notification_type_enabled' => array('BOOL', 1),
+ ),
+ 'PRIMARY_KEY' => array('notification_type', 'notification_type_enabled'),
+ );
+
+ $schema_data['phpbb_notifications'] = array(
+ 'COLUMNS' => array(
+ 'notification_id' => array('UINT', NULL, 'auto_increment'),
+ 'item_type' => array('VCHAR:255', ''),
+ 'item_id' => array('UINT', 0),
+ 'item_parent_id' => array('UINT', 0),
+ 'user_id' => array('UINT', 0),
+ 'notification_read' => array('BOOL', 0),
+ 'notification_time' => array('TIMESTAMP', 1),
+ 'notification_data' => array('TEXT_UNI', ''),
+ ),
+ 'PRIMARY_KEY' => 'notification_id',
+ 'KEYS' => array(
+ 'item_ident' => array('INDEX', array('item_type', 'item_id')),
+ 'user' => array('INDEX', array('user_id', 'notification_read')),
+ ),
+ );
+
$schema_data['phpbb_poll_options'] = array(
'COLUMNS' => array(
'poll_option_id' => array('TINT:4', 0),
@@ -1769,6 +1795,16 @@ function get_schema_struct()
),
);
+ $schema_data['phpbb_user_notifications'] = array(
+ 'COLUMNS' => array(
+ 'item_type' => array('VCHAR:255', ''),
+ 'item_id' => array('UINT', 0),
+ 'user_id' => array('UINT', 0),
+ 'method' => array('VCHAR:255', ''),
+ 'notify' => array('BOOL', 1),
+ ),
+ );
+
$schema_data['phpbb_user_group'] = array(
'COLUMNS' => array(
'group_id' => array('UINT', 0),