diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index 4dc35e596a..222cca1257 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.0.1.026'; + $setup_info['phpgwapi']['version'] = '1.0.1.027'; $setup_info['phpgwapi']['versions']['current_header'] = '1.28'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; @@ -39,7 +39,7 @@ $setup_info['phpgwapi']['tables'][] = 'egw_log_msg'; $setup_info['phpgwapi']['tables'][] = 'phpgw_interserv'; $setup_info['phpgwapi']['tables'][] = 'egw_vfs'; - $setup_info['phpgwapi']['tables'][] = 'phpgw_history_log'; + $setup_info['phpgwapi']['tables'][] = 'egw_history_log'; $setup_info['phpgwapi']['tables'][] = 'egw_async'; $setup_info['phpgwapi']['tables'][] = 'egw_api_content_history'; $setup_info['phpgwapi']['tables'][] = 'phpgw_vfs2_mimetypes'; diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 799d8785e1..58d19f3df8 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -339,7 +339,7 @@ 'ix' => array(array('vfs_directory','vfs_name')), 'uc' => array() ), - 'phpgw_history_log' => array( + 'egw_history_log' => array( 'fd' => array( 'history_id' => array('type' => 'auto','precision' => '4','nullable' => False), 'history_record_id' => array('type' => 'int','precision' => '4','nullable' => False), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 66fe5be004..22c356fc5e 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -879,4 +879,13 @@ return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.0.1.026'; } + + + $test[] = '1.0.1.026'; + function phpgwapi_upgrade1_0_1_026() + { + $GLOBALS['egw_setup']->oProc->RenameTable('phpgw_history_log','egw_history_log'); + + return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.0.1.027'; + } ?>