mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 01:59:39 +01:00
* PostgreSQL: repairing/creating missing indexes
This commit is contained in:
parent
cec4fa26c4
commit
547335c139
@ -12,7 +12,7 @@
|
|||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['title'] = 'EGroupware API';
|
$setup_info['phpgwapi']['title'] = 'EGroupware API';
|
||||||
$setup_info['phpgwapi']['version'] = '14.3.003';
|
$setup_info['phpgwapi']['version'] = '14.3.004';
|
||||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
||||||
$setup_info['phpgwapi']['enable'] = 3;
|
$setup_info['phpgwapi']['enable'] = 3;
|
||||||
$setup_info['phpgwapi']['app_order'] = 1;
|
$setup_info['phpgwapi']['app_order'] = 1;
|
||||||
|
@ -835,3 +835,19 @@ function phpgwapi_upgrade14_3_002()
|
|||||||
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.003';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.003';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check and if necessary fix indexes, they have been completly lost on PostgreSQL with previous updates
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
function phpgwapi_upgrade14_3_003()
|
||||||
|
{
|
||||||
|
$GLOBALS['run-from-upgrade14_3_003'] = true;
|
||||||
|
|
||||||
|
if ($GLOBALS['egw_setup']->db->Type == 'pgsql')
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->CheckCreateIndexes();
|
||||||
|
}
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.004';
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user