mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 05:06:37 +02:00
[ticket/14992] Shorten index name for user_id and item_id
PHPBB3-14992
This commit is contained in:
@ -27,7 +27,7 @@ class user_notifications_table_index_p2 extends \phpbb\db\migration\migration
|
|||||||
return array(
|
return array(
|
||||||
'add_index' => array(
|
'add_index' => array(
|
||||||
$this->table_prefix . 'user_notifications' => 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(
|
return array(
|
||||||
'drop_keys' => array(
|
'drop_keys' => array(
|
||||||
$this->table_prefix . 'user_notifications' => array(
|
$this->table_prefix . 'user_notifications' => array(
|
||||||
'usr_id_itm_id',
|
'uid_itm_id',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user