mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
* EMailAdmin: create a unique index for egw_ea_valid table
This commit is contained in:
parent
01f2df4ece
commit
9c8ee0fea5
@ -13,7 +13,7 @@
|
||||
|
||||
$setup_info['emailadmin']['name'] = 'emailadmin';
|
||||
$setup_info['emailadmin']['title'] = 'EMailAdmin';
|
||||
$setup_info['emailadmin']['version'] = '14.1';
|
||||
$setup_info['emailadmin']['version'] = '14.2';
|
||||
$setup_info['emailadmin']['app_order'] = 10;
|
||||
$setup_info['emailadmin']['enable'] = 2;
|
||||
|
||||
|
@ -148,8 +148,8 @@ $phpgw_baseline = array(
|
||||
),
|
||||
'pk' => array(),
|
||||
'fk' => array(),
|
||||
'ix' => array(array('acc_id','account_id'),array('account_id','acc_id')),
|
||||
'uc' => array()
|
||||
'ix' => array(array('account_id','acc_id')),
|
||||
'uc' => array(array('acc_id','account_id'))
|
||||
),
|
||||
'egw_ea_notifications' => array(
|
||||
'fd' => array(
|
||||
|
@ -882,3 +882,12 @@ function emailadmin_upgrade1_9_019()
|
||||
{
|
||||
return $GLOBALS['setup_info']['emailadmin']['currentver'] = '14.1';
|
||||
}
|
||||
|
||||
|
||||
function emailadmin_upgrade14_1()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->DropIndex('egw_ea_valid', array('acc_id', 'account_id'));
|
||||
$GLOBALS['egw_setup']->oProc->CreateIndex('egw_ea_valid', array('acc_id', 'account_id'), true);
|
||||
|
||||
return $GLOBALS['setup_info']['emailadmin']['currentver'] = '14.2';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user