diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index 016d695864..74adcf9995 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -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; + diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 4e76da6d5c..f2db951b26 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -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(), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 2c7c9994d4..80b1db762a 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -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'; +} +