update from 1.4.003

This commit is contained in:
Ralf Becker 2008-03-19 13:12:13 +00:00
parent af72b6ea54
commit dc1797f41a

View File

@ -32,27 +32,33 @@
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.001';
}
$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
));
$test[] = '1.4.003';
function phpgwapi_upgrade1_4_003()
{
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.001';
}
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';
function phpgwapi_upgrade1_5_002()
@ -178,4 +184,3 @@
}
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.004';
}
?>