Increase size of password field for pending password method enhancements.

NOTE: Last update didn't increment the overall version, so this looks like 2.
This commit is contained in:
Miles Lott 2004-01-16 13:44:05 +00:00
parent 71a6a6b84e
commit 19c6bade68
3 changed files with 15 additions and 2 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.008';
$setup_info['phpgwapi']['version'] = '0.9.99.010';
$setup_info['phpgwapi']['versions']['current_header'] = '1.25';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;

View File

@ -54,7 +54,7 @@
'fd' => array(
'account_id' => array('type' => 'auto'),
'account_lid' => array('type' => 'varchar','precision' => '25'),
'account_pwd' => array('type' => 'varchar','precision' => '32','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'),
'account_lastlogin' => array('type' => 'int','precision' => '4'),

View File

@ -964,4 +964,17 @@
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.009';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
$test[] = '0.9.99.009';
function phpgwapi_upgrade0_9_99_009()
{
$GLOBALS['phpgw_setup']->oProc->AlterColumn(
'phpgw_accounts',
'account_pwd',
array('type' => 'varchar','precision' => '100','nullable' => False)
);
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.010';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
?>