mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
* Calendar: create index on egw_cal.cal_reference to speed up etag generation of recuring events
This commit is contained in:
parent
1991d3ae5f
commit
dbcf95d5f9
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['calendar']['name'] = 'calendar';
|
$setup_info['calendar']['name'] = 'calendar';
|
||||||
$setup_info['calendar']['version'] = '1.9.009';
|
$setup_info['calendar']['version'] = '1.9.010';
|
||||||
$setup_info['calendar']['app_order'] = 3;
|
$setup_info['calendar']['app_order'] = 3;
|
||||||
$setup_info['calendar']['enable'] = 1;
|
$setup_info['calendar']['enable'] = 1;
|
||||||
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index';
|
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index';
|
||||||
|
@ -38,7 +38,7 @@ $phpgw_baseline = array(
|
|||||||
),
|
),
|
||||||
'pk' => array('cal_id'),
|
'pk' => array('cal_id'),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
'ix' => array('cal_uid','cal_owner','cal_modified','cal_deleted','caldav_name'),
|
'ix' => array('cal_uid','cal_owner','cal_modified','cal_reference','cal_deleted','caldav_name'),
|
||||||
'uc' => array()
|
'uc' => array()
|
||||||
),
|
),
|
||||||
'egw_cal_holidays' => array(
|
'egw_cal_holidays' => array(
|
||||||
|
@ -2238,10 +2238,20 @@ function calendar_upgrade1_9_008()
|
|||||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.009';
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.009';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create index on egw_cal.cal_reference to speed up etag generation of recuring events
|
||||||
|
*/
|
||||||
|
function calendar_upgrade1_9_009()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->CreateIndex('egw_cal', array('cal_reference'));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.010';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add cal_rrule columns, drop egw_cal_repeats table
|
* Add cal_rrule columns, drop egw_cal_repeats table
|
||||||
*/
|
*/
|
||||||
/*function calendar_upgrade1_9_009()
|
/*function calendar_upgrade1_9_010()
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_setup']->oProc->AddColumn('egw_cal','cal_rrule',array(
|
$GLOBALS['egw_setup']->oProc->AddColumn('egw_cal','cal_rrule',array(
|
||||||
'type' => 'varchar',
|
'type' => 'varchar',
|
||||||
@ -2266,6 +2276,6 @@ function calendar_upgrade1_9_008()
|
|||||||
}
|
}
|
||||||
$GLOBALS['egw_setup']->oProc->DropTable('egw_cal_repeats');
|
$GLOBALS['egw_setup']->oProc->DropTable('egw_cal_repeats');
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.010';
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.9.011';
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user