diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index 479166962d..741ab66531 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.009'; + $setup_info['phpgwapi']['version'] = '1.3.010'; $setup_info['phpgwapi']['versions']['current_header'] = '1.28'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; @@ -52,6 +52,8 @@ $setup_info['phpgwapi']['tables'][] = 'egw_syncmldevinfo'; $setup_info['phpgwapi']['tables'][] = 'egw_syncmlsummary'; $setup_info['phpgwapi']['tables'][] = 'egw_links'; + $setup_info['phpgwapi']['tables'][] = 'egw_addressbook'; + $setup_info['phpgwapi']['tables'][] = 'egw_addressbook_extra'; /* Basic information about this app */ $setup_info['notifywindow']['name'] = 'notifywindow'; @@ -67,3 +69,4 @@ + diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 757c876f98..5115a8a28c 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -480,7 +480,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) ), @@ -567,5 +567,5 @@ 'fk' => array(), 'ix' => array(), 'uc' => array() - ), + ) ); diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index d5363e5b3b..498ca224a0 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -562,3 +562,15 @@ } return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.009'; } + + $test[] = '1.3.009'; + function phpgwapi_upgrade1_3_009() + { + $GLOBALS['egw_setup']->oProc->AlterColumn('egw_links','link_remark',array( + 'type' => 'varchar', + 'precision' => '100' + )); + + return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.010'; + } +?>