forked from extern/egroupware
* Addressbook/CardDAV: Add index for contact_modified to improve performance of ctag generation on big installtions
This commit is contained in:
parent
fc799e99a7
commit
62a5869b7f
@ -12,7 +12,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['title'] = 'EGroupware API';
|
||||
$setup_info['phpgwapi']['version'] = '1.9.012';
|
||||
$setup_info['phpgwapi']['version'] = '1.9.013';
|
||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
||||
$setup_info['phpgwapi']['enable'] = 3;
|
||||
$setup_info['phpgwapi']['app_order'] = 1;
|
||||
@ -75,3 +75,4 @@ $setup_info['groupdav']['license'] = 'GPL';
|
||||
$setup_info['groupdav']['hooks']['preferences'] = 'groupdav_hooks::menus';
|
||||
$setup_info['groupdav']['hooks']['settings'] = 'groupdav_hooks::settings';
|
||||
|
||||
|
||||
|
@ -345,7 +345,7 @@ $phpgw_baseline = array(
|
||||
),
|
||||
'pk' => array('contact_id'),
|
||||
'fk' => array(),
|
||||
'ix' => array('contact_owner','cat_id','n_fileas','contact_uid','carddav_name',array('n_family','n_given'),array('n_given','n_family'),array('org_name','n_family','n_given')),
|
||||
'ix' => array('contact_owner','cat_id','n_fileas','contact_modified','contact_uid','carddav_name',array('n_family','n_given'),array('n_given','n_family'),array('org_name','n_family','n_given')),
|
||||
'uc' => array('account_id')
|
||||
),
|
||||
'egw_addressbook_extra' => array(
|
||||
|
@ -326,3 +326,13 @@ function phpgwapi_upgrade1_9_011()
|
||||
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.9.012';
|
||||
}
|
||||
|
||||
/**
|
||||
* Add index for contact_modified to improve performance of ctag generation on big installtions
|
||||
*/
|
||||
function phpgwapi_upgrade1_9_012()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->CreateIndex('egw_addressbook','contact_modified');
|
||||
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.9.013';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user