missing api update for the sitemgr-link stuff

This commit is contained in:
Ralf Becker 2008-08-18 10:05:58 +00:00
parent 9d2016ebf6
commit 1a9388cc89
3 changed files with 25 additions and 2 deletions

View File

@ -12,7 +12,7 @@
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
$setup_info['phpgwapi']['version'] = '1.5.010';
$setup_info['phpgwapi']['version'] = '1.5.011';
$setup_info['phpgwapi']['versions']['current_header'] = '1.28';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;
@ -62,3 +62,4 @@ $setup_info['groupdav']['name'] = 'groupdav';
$setup_info['groupdav']['version'] = '1.6';
$setup_info['groupdav']['enable'] = 2;
$setup_info['groupdav']['app_order'] = 1;

View File

@ -30,7 +30,10 @@ $phpgw_baseline = array(
'app_enabled' => array('type' => 'int','precision' => '4','nullable' => False),
'app_order' => array('type' => 'int','precision' => '4','nullable' => False),
'app_tables' => array('type' => 'text','nullable' => False),
'app_version' => array('type' => 'varchar','precision' => '20','nullable' => False,'default' => '0.0')
'app_version' => array('type' => 'varchar','precision' => '20','nullable' => False,'default' => '0.0'),
'app_icon' => array('type' => 'varchar','precision' => '32'),
'app_icon_app' => array('type' => 'varchar','precision' => '25'),
'app_index' => array('type' => 'varchar','precision' => '64')
),
'pk' => array('app_id'),
'fk' => array(),

View File

@ -413,3 +413,22 @@ function phpgwapi_upgrade1_5_009()
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.010';
}
function phpgwapi_upgrade1_5_010()
{
$GLOBALS['egw_setup']->oProc->AddColumn('egw_applications','app_icon',array(
'type' => 'varchar',
'precision' => '32'
));
$GLOBALS['egw_setup']->oProc->AddColumn('egw_applications','app_icon_app',array(
'type' => 'varchar',
'precision' => '25'
));
$GLOBALS['egw_setup']->oProc->AddColumn('egw_applications','app_index',array(
'type' => 'varchar',
'precision' => '64'
));
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.5.011';
}