1
0
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:
Nathan Guse
2012-12-08 14:12:25 -06:00
parent 2227ceab8b
commit 0d6c8f46ff
9 changed files with 18 additions and 88 deletions

View File

@@ -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(