diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index fa30791a3e..ed9ec72701 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -14,7 +14,7 @@ /* Basic information about this app */ $setup_info['phpgwapi']['name'] = 'phpgwapi'; $setup_info['phpgwapi']['title'] = 'eGroupWare API'; - $setup_info['phpgwapi']['version'] = '1.3.020'; + $setup_info['phpgwapi']['version'] = '1.3.021'; $setup_info['phpgwapi']['versions']['current_header'] = '1.28'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; @@ -64,3 +64,4 @@ $setup_info['notifywindow']['hooks'][] = 'home'; + diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 11d09169ed..1aca1557ad 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -437,7 +437,7 @@ 'link_app2' => array('type' => 'varchar','precision' => '25','nullable' => False), 'link_id2' => array('type' => 'varchar','precision' => '50','nullable' => False), 'link_remark' => array('type' => 'varchar','precision' => '100'), - 'link_lastmod' => array('type' => 'int','precision' => '4','nullable' => False), + 'link_lastmod' => array('type' => 'int','precision' => '8','nullable' => False), 'link_owner' => array('type' => 'int','precision' => '4','nullable' => False) ), 'pk' => array('link_id'), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 51f22da184..a20d7b4dcb 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -765,4 +765,17 @@ return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.020'; } + + + $test[] = '1.3.020'; + function phpgwapi_upgrade1_3_020() + { + $GLOBALS['egw_setup']->oProc->AlterColumn('egw_links','link_lastmod',array( + 'type' => 'int', + 'precision' => '8', + 'nullable' => False + )); + + return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.021'; + } ?>