mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
[ticket/11103] Update indexes on notifications/user notifications tables
PHPBB3-11103
This commit is contained in:
@@ -1309,13 +1309,8 @@ function get_schema_struct()
|
||||
),
|
||||
'PRIMARY_KEY' => 'notification_id',
|
||||
'KEYS' => array(
|
||||
'item_type' => array('INDEX', 'item_type'),
|
||||
'item_id' => array('INDEX', 'item_id'),
|
||||
'item_pid' => array('INDEX', 'item_parent_id'),
|
||||
'user_id' => array('INDEX', 'user_id'),
|
||||
'time' => array('INDEX', 'time'),
|
||||
'unread' => array('INDEX', 'unread'),
|
||||
'is_enabled' => array('INDEX', 'is_enabled'),
|
||||
'item_ident' => array('INDEX', array('item_type', 'item_id')),
|
||||
'user' => array('INDEX', array('user_id', 'unread')),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -1791,11 +1786,6 @@ function get_schema_struct()
|
||||
'user_id',
|
||||
'method',
|
||||
),
|
||||
'KEYS' => array(
|
||||
'it' => array('INDEX', 'item_type'),
|
||||
'uid' => array('INDEX', 'user_id'),
|
||||
'no' => array('INDEX', 'notify'),
|
||||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_user_group'] = array(
|
||||
|
Reference in New Issue
Block a user