mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
removed unnecessary RefreshTable
This commit is contained in:
parent
d5dbb7ef72
commit
ff84561c98
@ -1105,22 +1105,6 @@
|
|||||||
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','occurence','hol_occurence');
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','occurence','hol_occurence');
|
||||||
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','dow','hol_dow');
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','dow','hol_dow');
|
||||||
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','observance_rule','hol_observance_rule');
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','observance_rule','hol_observance_rule');
|
||||||
$GLOBALS['phpgw_setup']->oProc->RefreshTable('phpgw_cal_holidays',array(
|
|
||||||
'fd' => array(
|
|
||||||
'hol_id' => array('type' => 'auto','nullable' => False),
|
|
||||||
'hol_locale' => array('type' => 'char','precision' => '2','nullable' => False),
|
|
||||||
'hol_name' => array('type' => 'varchar','precision' => '50','nullable' => False),
|
|
||||||
'hol_mday' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
||||||
'hol_month_num' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
||||||
'hol_occurence' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
||||||
'hol_dow' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
||||||
'hol_observance_rule' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0')
|
|
||||||
),
|
|
||||||
'pk' => array('hol_id'),
|
|
||||||
'fk' => array(),
|
|
||||||
'ix' => array('hol_locale'),
|
|
||||||
'uc' => array()
|
|
||||||
));
|
|
||||||
|
|
||||||
$GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0.002';
|
$GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0.002';
|
||||||
return $GLOBALS['setup_info']['calendar']['currentver'];
|
return $GLOBALS['setup_info']['calendar']['currentver'];
|
||||||
@ -1132,18 +1116,6 @@
|
|||||||
{
|
{
|
||||||
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_user','cal_login','cal_user_id');
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_user','cal_login','cal_user_id');
|
||||||
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_user','cal_type','cal_user_type');
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_user','cal_type','cal_user_type');
|
||||||
$GLOBALS['phpgw_setup']->oProc->RefreshTable('phpgw_cal_user',array(
|
|
||||||
'fd' => array(
|
|
||||||
'cal_id' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
||||||
'cal_user_id' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
|
||||||
'cal_status' => array('type' => 'char','precision' => '1','default' => 'A'),
|
|
||||||
'cal_user_type' => array('type' => 'varchar','precision' => '1','nullable' => False,'default' => 'u')
|
|
||||||
),
|
|
||||||
'pk' => array('cal_id','cal_user_id','cal_user_type'),
|
|
||||||
'fk' => array(),
|
|
||||||
'ix' => array(),
|
|
||||||
'uc' => array()
|
|
||||||
));
|
|
||||||
|
|
||||||
$GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0.003';
|
$GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0.003';
|
||||||
return $GLOBALS['setup_info']['calendar']['currentver'];
|
return $GLOBALS['setup_info']['calendar']['currentver'];
|
||||||
|
Loading…
Reference in New Issue
Block a user