[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7145] catch: missing field
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7145] catch: missing field |
Date: |
Mon, 28 Mar 2011 12:40:12 +0000 |
Revision: 7145
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7145
Author: sigurdne
Date: 2011-03-28 12:40:11 +0000 (Mon, 28 Mar 2011)
Log Message:
-----------
catch: missing field
Modified Paths:
--------------
trunk/catch/setup/setup.inc.php
trunk/catch/setup/tables_current.inc.php
trunk/catch/setup/tables_update.inc.php
Modified: trunk/catch/setup/setup.inc.php
===================================================================
--- trunk/catch/setup/setup.inc.php 2011-03-28 08:11:47 UTC (rev 7144)
+++ trunk/catch/setup/setup.inc.php 2011-03-28 12:40:11 UTC (rev 7145)
@@ -27,7 +27,7 @@
*/
$setup_info['catch']['name'] = 'catch';
- $setup_info['catch']['version'] = '0.9.17.509';
+ $setup_info['catch']['version'] = '0.9.17.510';
$setup_info['catch']['app_order'] = 20;
$setup_info['catch']['enable'] = 1;
$setup_info['catch']['globals_checked'] = True;
Modified: trunk/catch/setup/tables_current.inc.php
===================================================================
--- trunk/catch/setup/tables_current.inc.php 2011-03-28 08:11:47 UTC (rev
7144)
+++ trunk/catch/setup/tables_current.inc.php 2011-03-28 12:40:11 UTC (rev
7145)
@@ -51,6 +51,7 @@
'lookup_tenant' => array('type' =>
'int','precision' => '4','nullable' => True),
'tracking' => array('type' => 'int','precision'
=> '4','nullable' => True),
'location_level' => array('type' =>
'int','precision' => '4','nullable' => True),
+ 'location_link_level' => array('type' =>
'int','precision' => '4','nullable' => True),
'fileupload' => array('type' =>
'int','precision' => '4','nullable' => True),
'loc_link' => array('type' => 'int','precision'
=> '4','nullable' => True),
'start_project' => array('type' =>
'int','precision' => '4','nullable' => True),
Modified: trunk/catch/setup/tables_update.inc.php
===================================================================
--- trunk/catch/setup/tables_update.inc.php 2011-03-28 08:11:47 UTC (rev
7144)
+++ trunk/catch/setup/tables_update.inc.php 2011-03-28 12:40:11 UTC (rev
7145)
@@ -266,7 +266,7 @@
}
/**
- * Update property version from 0.9.17.507 to 0.9.17.508
+ * Update catch version from 0.9.17.507 to 0.9.17.508
* Add optional hierarchy on entities
*
*/
@@ -286,7 +286,7 @@
}
}
/**
- * Update property version from 0.9.17.508 to 0.9.17.509
+ * Update catch version from 0.9.17.508 to 0.9.17.509
* Rename reserved fieldname to allow MySQL
*
*/
@@ -304,3 +304,23 @@
return $GLOBALS['setup_info']['catch']['currentver'];
}
}
+
+ /**
+ * Update catch version from 0.9.17.509 to 0.9.17.510
+ * Add location_link_level
+ *
+ */
+
+ $test[] = '0.9.17.509';
+ function catch_upgrade0_9_17_509()
+ {
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+
+
$GLOBALS['phpgw_setup']->oProc->AddColumn('fm_catch_category','location_link_level',
array('type' => 'int','precision' => '4','nullable' => True));
+
+ if($GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit())
+ {
+ $GLOBALS['setup_info']['catch']['currentver'] =
'0.9.17.510';
+ return $GLOBALS['setup_info']['catch']['currentver'];
+ }
+ }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7145] catch: missing field,
Sigurd Nes <=