changed the content column of phpgw_app_session from text to longtext (its overflowing eg. in eTemplate from time to time)

This commit is contained in:
Ralf Becker 2003-10-04 14:06:15 +00:00
parent d47f0e7739
commit 588abbaea7
3 changed files with 16 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.004';
$setup_info['phpgwapi']['version'] = '0.9.99.005';
$setup_info['phpgwapi']['versions']['current_header'] = '1.24';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;
@ -58,3 +58,4 @@

View File

@ -103,7 +103,7 @@
'loginid' => array('type' => 'varchar','precision' => '20'),
'location' => array('type' => 'varchar','precision' => '255'),
'app' => array('type' => 'varchar','precision' => '20'),
'content' => array('type' => 'text'),
'content' => array('type' => 'longtext'),
'session_dla' => array('type' => 'int','precision' => '4')
),
'pk' => array(),

View File

@ -923,4 +923,17 @@
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.004';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
$test[] = '0.9.99.004';
function phpgwapi_upgrade0_9_99_004()
{
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_app_sessions','content',array(
'type' => 'longtext'
));
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.005';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
?>