mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/14992] 'method' is needed for the unique index
This commit is contained in:
@@ -27,7 +27,7 @@ class user_notifications_table_unique_index extends \phpbb\db\migration\migratio
|
|||||||
return array(
|
return array(
|
||||||
'add_unique_index' => array(
|
'add_unique_index' => array(
|
||||||
$this->table_prefix . 'user_notifications' => array(
|
$this->table_prefix . 'user_notifications' => array(
|
||||||
'itm_usr_mthd' => array('item_type', 'item_id', 'user_id'),
|
'itm_usr_mthd' => array('item_type', 'item_id', 'user_id', 'method'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user