diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index d22f86331a..4214ef7449 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.2.103'; + $setup_info['phpgwapi']['version'] = '1.2.104'; $setup_info['phpgwapi']['versions']['current_header'] = '1.28'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; @@ -66,3 +66,5 @@ + + diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 3744600d15..ed6399c7b0 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -557,7 +557,7 @@ 'link_id1' => array('type' => 'varchar','precision' => '50','nullable' => False), 'link_app2' => array('type' => 'varchar','precision' => '25','nullable' => False), 'link_id2' => array('type' => 'varchar','precision' => '50','nullable' => False), - 'link_remark' => array('type' => 'varchar','precision' => '50'), + 'link_remark' => array('type' => 'varchar','precision' => '100'), 'link_lastmod' => array('type' => 'int','precision' => '4','nullable' => False), 'link_owner' => array('type' => 'int','precision' => '4','nullable' => False) ), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 0815fb5456..a5f27b8b9a 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -1188,3 +1188,15 @@ { return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.103'; } + + $test[] = '1.2.103'; + function phpgwapi_upgrade1_2_103() + { + $GLOBALS['egw_setup']->oProc->AlterColumn('egw_links','link_remark',array( + 'type' => 'varchar', + 'precision' => '100' + )); + + return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.104'; + } +?>