mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
new egw_cal.cal_special integer column, to flag calendar entries as eg. birthdays/aniversaries (1). Plans are to use this to store the holidays and and linked entries of timed infolog (eg. phonecalls) too.
This commit is contained in:
parent
56382e2c1a
commit
a92c5ea81a
@ -12,7 +12,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
$setup_info['calendar']['name'] = 'calendar';
|
||||
$setup_info['calendar']['version'] = '1.2.001';
|
||||
$setup_info['calendar']['version'] = '1.3.001';
|
||||
$setup_info['calendar']['app_order'] = 3;
|
||||
$setup_info['calendar']['enable'] = 1;
|
||||
|
||||
@ -78,3 +78,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -26,7 +26,8 @@
|
||||
'cal_location' => array('type' => 'varchar','precision' => '255'),
|
||||
'cal_reference' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||
'cal_modifier' => array('type' => 'int','precision' => '4'),
|
||||
'cal_non_blocking' => array('type' => 'int','precision' => '2','default' => '0')
|
||||
'cal_non_blocking' => array('type' => 'int','precision' => '2','default' => '0'),
|
||||
'cal_special' => array('type' => 'int','precision' => '2','default' => '0')
|
||||
),
|
||||
'pk' => array('cal_id'),
|
||||
'fk' => array(),
|
||||
|
@ -1508,3 +1508,16 @@
|
||||
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.2.001';
|
||||
}
|
||||
|
||||
$test[] = '1.2.001';
|
||||
function calendar_upgrade1_2_001()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->AddColumn('egw_cal','cal_special',array(
|
||||
'type' => 'int',
|
||||
'precision' => '2',
|
||||
'default' => '0'
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.3.001';
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user