diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index fc5a581d0b..87f86d5143 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -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 @@ + diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 08852b11e2..53fbd38882 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -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(), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index e54d4cc752..dedb466b29 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -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']; + } ?>