Increment to version 0.9.99.013 to fix phpgw_accounts table now that unique/index is working

This commit is contained in:
Miles Lott 2004-02-02 22:52:06 +00:00
parent 53c6168fb1
commit 6d860ceda9
3 changed files with 15 additions and 4 deletions

View File

@ -15,7 +15,7 @@
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
$setup_info['phpgwapi']['version'] = '0.9.99.012';
$setup_info['phpgwapi']['version'] = '0.9.99.013';
$setup_info['phpgwapi']['versions']['current_header'] = '1.26';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;

View File

@ -53,7 +53,7 @@
'phpgw_accounts' => array(
'fd' => array(
'account_id' => array('type' => 'auto'),
'account_lid' => array('type' => 'varchar','precision' => '25'),
'account_lid' => array('type' => 'varchar','precision' => '25','nullable' => False),
'account_pwd' => array('type' => 'varchar','precision' => '100','nullable' => False),
'account_firstname' => array('type' => 'varchar','precision' => '50'),
'account_lastname' => array('type' => 'varchar','precision' => '50'),

View File

@ -987,8 +987,6 @@
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
$test[] = '0.9.99.011';
function phpgwapi_upgrade0_9_99_011()
{
@ -1006,4 +1004,17 @@
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.012';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
$test[] = '0.9.99.012';
function phpgwapi_upgrade0_9_99_012()
{
$GLOBALS['phpgw_setup']->oProc->AlterColumn(
'phpgw_accounts',
'account_lid',
array('type' => 'varchar','precision' => '25','nullable' => False)
);
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.013';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
?>