phpgw_history_log --> egw_history_log

This commit is contained in:
Ralf Becker 2005-11-13 10:52:08 +00:00
parent 5c9dcc3194
commit 889eb347b8
3 changed files with 12 additions and 3 deletions

View File

@ -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';

View File

@ -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),

View File

@ -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';
}
?>