mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
change max size for calendar customfields to 16k, as we use it for addressbook and infolog too (was only 255)
This commit is contained in:
parent
153c068271
commit
20331879b1
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$setup_info['calendar']['name'] = 'calendar';
|
$setup_info['calendar']['name'] = 'calendar';
|
||||||
$setup_info['calendar']['version'] = '16.1.001';
|
$setup_info['calendar']['version'] = '16.1.002';
|
||||||
$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&ajax=true';
|
$setup_info['calendar']['index'] = 'calendar.calendar_uiviews.index&ajax=true';
|
||||||
|
@ -75,7 +75,7 @@ $phpgw_baseline = array(
|
|||||||
'fd' => array(
|
'fd' => array(
|
||||||
'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
'cal_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
||||||
'cal_extra_name' => array('type' => 'varchar','meta' => 'cfname','precision' => '40','nullable' => False),
|
'cal_extra_name' => array('type' => 'varchar','meta' => 'cfname','precision' => '40','nullable' => False),
|
||||||
'cal_extra_value' => array('type' => 'varchar','meta' => 'cfvalue','precision' => '255','nullable' => False,'default' => '')
|
'cal_extra_value' => array('type' => 'varchar','meta' => 'cfvalue','precision' => '16384','nullable' => False,'default' => '')
|
||||||
),
|
),
|
||||||
'pk' => array('cal_id','cal_extra_name'),
|
'pk' => array('cal_id','cal_extra_name'),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
|
@ -2723,3 +2723,12 @@ function calendar_upgrade16_1()
|
|||||||
|
|
||||||
return $GLOBALS['setup_info']['calendar']['currentver'] = '16.1.001';
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '16.1.001';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function calendar_upgrade16_1_001()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_cal_extra', 'cal_extra_value',
|
||||||
|
array('type' => 'varchar','meta' => 'cfvalue','precision' => '16384','nullable' => False,'default' => ''));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['calendar']['currentver'] = '16.1.002';
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user