[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/setup setup.inc.php tables_update.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] phpgwapi/setup setup.inc.php tables_update.inc.php |
Date: |
Mon, 24 Apr 2006 09:16:49 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Branch:
Changes by: Sigurd Nes <address@hidden> 06/04/24 09:16:49
Modified files:
setup : setup.inc.php tables_update.inc.php
Log message:
db-upgrade for alter column-lenght in phpgw_lang
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/setup/setup.inc.php.diff?tr1=1.71&tr2=1.72&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/setup/tables_update.inc.php.diff?tr1=1.89&tr2=1.90&r1=text&r2=text
Patches:
Index: phpgwapi/setup/setup.inc.php
diff -u phpgwapi/setup/setup.inc.php:1.71 phpgwapi/setup/setup.inc.php:1.72
--- phpgwapi/setup/setup.inc.php:1.71 Wed Mar 29 09:41:51 2006
+++ phpgwapi/setup/setup.inc.php Mon Apr 24 09:16:49 2006
@@ -5,14 +5,14 @@
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package phpgwapi
* @subpackage setup
- * @version $Id: setup.inc.php,v 1.71 2006/03/29 09:41:51 sigurdne Exp $
+ * @version $Id: setup.inc.php,v 1.72 2006/04/24 09:16:49 sigurdne Exp $
* @internal $Source: /sources/phpgwapi/phpgwapi/setup/setup.inc.php,v $
*/
// Basic information about this app
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
- $setup_info['phpgwapi']['version'] = '0.9.17.504';
+ $setup_info['phpgwapi']['version'] = '0.9.17.505';
$setup_info['phpgwapi']['versions']['current_header'] = '1.24';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;
Index: phpgwapi/setup/tables_update.inc.php
diff -u phpgwapi/setup/tables_update.inc.php:1.89
phpgwapi/setup/tables_update.inc.php:1.90
--- phpgwapi/setup/tables_update.inc.php:1.89 Wed Mar 29 09:41:51 2006
+++ phpgwapi/setup/tables_update.inc.php Mon Apr 24 09:16:49 2006
@@ -5,7 +5,7 @@
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package phpgwapi
* @subpackage setup
- * @version $Id: tables_update.inc.php,v 1.89 2006/03/29 09:41:51
sigurdne Exp $
+ * @version $Id: tables_update.inc.php,v 1.90 2006/04/24 09:16:49
sigurdne Exp $
* @internal $Source:
/sources/phpgwapi/phpgwapi/setup/tables_update.inc.php,v $
*/
@@ -1353,5 +1353,22 @@
$GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit();
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
+
+ $test[] = '0.9.17.504';
+ function phpgwapi_upgrade0_9_17_504()
+ {
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+
+
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_lang','app_name',array(
+ 'type' => 'varchar',
+ 'precision' => 25,
+ 'default' => 'common',
+ 'nullable' => False
+ ));
+
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.17.505';
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit();
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/setup setup.inc.php tables_update.inc.php,
Sigurd Nes <=