forked from extern/egroupware
update from 1.4.003
This commit is contained in:
parent
af72b6ea54
commit
dc1797f41a
@ -32,27 +32,33 @@
|
|||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.001';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.001';
|
||||||
}
|
}
|
||||||
|
|
||||||
$test[] = '1.5.001';
|
$test[] = '1.4.003';
|
||||||
function phpgwapi_upgrade1_5_001()
|
function phpgwapi_upgrade1_4_003()
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','org_name',array(
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.001';
|
||||||
'type' => 'varchar',
|
}
|
||||||
'precision' => '128',
|
|
||||||
'nullable' => true
|
|
||||||
));
|
|
||||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','contact_email',array(
|
|
||||||
'type' => 'varchar',
|
|
||||||
'precision' => '128',
|
|
||||||
'nullable' => true
|
|
||||||
));
|
|
||||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','contact_email_home',array(
|
|
||||||
'type' => 'varchar',
|
|
||||||
'precision' => '128',
|
|
||||||
'nullable' => true
|
|
||||||
));
|
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.002';
|
$test[] = '1.5.001';
|
||||||
}
|
function phpgwapi_upgrade1_5_001()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','org_name',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '128',
|
||||||
|
'nullable' => true
|
||||||
|
));
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','contact_email',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '128',
|
||||||
|
'nullable' => true
|
||||||
|
));
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','contact_email_home',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '128',
|
||||||
|
'nullable' => true
|
||||||
|
));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.002';
|
||||||
|
}
|
||||||
|
|
||||||
$test[] = '1.5.002';
|
$test[] = '1.5.002';
|
||||||
function phpgwapi_upgrade1_5_002()
|
function phpgwapi_upgrade1_5_002()
|
||||||
@ -178,4 +184,3 @@
|
|||||||
}
|
}
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.004';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.004';
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user