[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/setup tables_current.inc.php setup.inc...
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/setup tables_current.inc.php setup.inc... |
Date: |
Sun, 12 Aug 2007 21:24:42 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 07/08/12 21:24:42
Modified files:
setup : tables_current.inc.php setup.inc.php
tables_update.inc.php
Log message:
update
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/setup/tables_current.inc.php?cvsroot=phpgroupware&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/property/setup/setup.inc.php?cvsroot=phpgroupware&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/property/setup/tables_update.inc.php?cvsroot=phpgroupware&r1=1.67&r2=1.68
Patches:
Index: tables_current.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/setup/tables_current.inc.php,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- tables_current.inc.php 10 Aug 2007 13:41:08 -0000 1.74
+++ tables_current.inc.php 12 Aug 2007 21:24:41 -0000 1.75
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage setup
- * @version $Id: tables_current.inc.php,v 1.74 2007/08/10 13:41:08
sigurdne Exp $
+ * @version $Id: tables_current.inc.php,v 1.75 2007/08/12 21:24:41
sigurdne Exp $
*/
$phpgw_baseline = array(
@@ -1597,7 +1597,7 @@
'history_id' => array('type' =>
'auto','precision' => '4','nullable' => False),
'history_record_id' => array('type' =>
'int','precision' => '4','nullable' => False),
'history_appname' => array('type' =>
'varchar','precision' => '64','nullable' => False),
- 'history_entity_attrib_id' => array('type' =>
'int','precision' => '4','nullable' => False),
+ 'history_attrib_id' => array('type' =>
'int','precision' => '4','nullable' => False),
'history_owner' => array('type' =>
'int','precision' => '4','nullable' => False),
'history_status' => array('type' =>
'char','precision' => '2','nullable' => False),
'history_new_value' => array('type' =>
'text','nullable' => False),
Index: setup.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/setup/setup.inc.php,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- setup.inc.php 10 Aug 2007 13:41:08 -0000 1.59
+++ setup.inc.php 12 Aug 2007 21:24:41 -0000 1.60
@@ -8,12 +8,12 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage setup
- * @version $Id: setup.inc.php,v 1.59 2007/08/10 13:41:08 sigurdne Exp $
+ * @version $Id: setup.inc.php,v 1.60 2007/08/12 21:24:41 sigurdne Exp $
*/
$setup_info['property']['name'] = 'property';
$setup_info['property']['title'] = 'Property';
- $setup_info['property']['version'] = '0.9.17.538';
+ $setup_info['property']['version'] = '0.9.17.539';
$setup_info['property']['app_order'] = 8;
$setup_info['property']['enable'] = 1;
$setup_info['property']['app_group'] = 'office';
Index: tables_update.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/setup/tables_update.inc.php,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- tables_update.inc.php 10 Aug 2007 13:41:08 -0000 1.67
+++ tables_update.inc.php 12 Aug 2007 21:24:41 -0000 1.68
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage setup
- * @version $Id: tables_update.inc.php,v 1.67 2007/08/10 13:41:08
sigurdne Exp $
+ * @version $Id: tables_update.inc.php,v 1.68 2007/08/12 21:24:41
sigurdne Exp $
*/
/**
@@ -1816,3 +1816,21 @@
return $GLOBALS['setup_info']['property']['currentver'];
}
}
+
+ /**
+ * Update property version from 0.9.17.538 to 0.9.17.539
+ */
+
+ $test[] = '0.9.17.538';
+ function property_upgrade0_9_17_538()
+ {
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+
+
$GLOBALS['phpgw_setup']->oProc->RenameColumn('fm_entity_history','history_entity_attrib_id','history_attrib_id');
+
+ if($GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit())
+ {
+ $GLOBALS['setup_info']['property']['currentver'] =
'0.9.17.539';
+ return $GLOBALS['setup_info']['property']['currentver'];
+ }
+ }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/setup tables_current.inc.php setup.inc...,
Sigurd Nes <=