mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14992] Shorten index name for user_id and item_id
PHPBB3-14992
This commit is contained in:
parent
59ac4a71b6
commit
11f968e774
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class user_notifications_table_index_p2 extends \phpbb\db\migration\migration
|
|||
return array(
|
||||
'add_index' => array(
|
||||
$this->table_prefix . 'user_notifications' => array(
|
||||
'usr_id_itm_id' => array('user_id', 'item_id'),
|
||||
'uid_itm_id' => array('user_id', 'item_id'),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -38,7 +38,7 @@ class user_notifications_table_index_p2 extends \phpbb\db\migration\migration
|
|||
return array(
|
||||
'drop_keys' => array(
|
||||
$this->table_prefix . 'user_notifications' => array(
|
||||
'usr_id_itm_id',
|
||||
'uid_itm_id',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue