From fa15bcaf7a648cf14383f23cdc23156429b4e7d7 Mon Sep 17 00:00:00 2001 From: SinergiaCRM Date: Fri, 4 Oct 2024 13:55:46 +0000 Subject: [PATCH] Fix #10539 - Indexes lacking in securitygroups_acl_roles --- metadata/securitygroups_acl_rolesMetaData.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata/securitygroups_acl_rolesMetaData.php b/metadata/securitygroups_acl_rolesMetaData.php index ac9b54dfcf3..53dd3521335 100644 --- a/metadata/securitygroups_acl_rolesMetaData.php +++ b/metadata/securitygroups_acl_rolesMetaData.php @@ -9,7 +9,8 @@ , array('name' =>'deleted', 'type' =>'bool', 'len'=>'1', 'required'=>true, 'default'=>'0') ), 'indices' => array( - array('name' =>'securitygroups_acl_rolespk', 'type' =>'primary', 'fields'=>array('id')) + array('name' =>'securitygroups_acl_rolespk', 'type' =>'primary', 'fields'=>array('id')), + array('name' => 'idx_SG_roles', 'type' => 'index', 'fields' => array('securitygroup_id', 'role_id')), ), 'relationships' => array(