[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7766] update custom functions
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7766] update custom functions |
Date: |
Fri, 30 Sep 2011 17:41:59 +0000 |
Revision: 7766
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7766
Author: sigurdne
Date: 2011-09-30 17:41:59 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
update custom functions
Modified Paths:
--------------
trunk/phpgwapi/setup/setup.inc.php
trunk/phpgwapi/setup/tables_current.inc.php
trunk/phpgwapi/setup/tables_update.inc.php
Modified: trunk/phpgwapi/setup/setup.inc.php
===================================================================
--- trunk/phpgwapi/setup/setup.inc.php 2011-09-30 17:35:22 UTC (rev 7765)
+++ trunk/phpgwapi/setup/setup.inc.php 2011-09-30 17:41:59 UTC (rev 7766)
@@ -12,7 +12,7 @@
// Basic information about this app
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
- $setup_info['phpgwapi']['version'] = '0.9.17.534';
+ $setup_info['phpgwapi']['version'] = '0.9.17.535';
$setup_info['phpgwapi']['versions']['current_header'] = '1.31';
$setup_info['phpgwapi']['versions']['system'] = '1.0';
$setup_info['phpgwapi']['enable'] = 3;
Modified: trunk/phpgwapi/setup/tables_current.inc.php
===================================================================
--- trunk/phpgwapi/setup/tables_current.inc.php 2011-09-30 17:35:22 UTC (rev
7765)
+++ trunk/phpgwapi/setup/tables_current.inc.php 2011-09-30 17:41:59 UTC (rev
7766)
@@ -608,7 +608,7 @@
'location_id' => array('type' =>
'int','precision' => 4,'nullable' => false),
'id' => array('type' => 'int','precision' =>
4,'nullable' => false),
'descr' => array('type' => 'text','nullable' =>
true),
- 'file_name ' => array('type' =>
'varchar','precision' => 50,'nullable' => false),
+ 'file_name' => array('type' =>
'varchar','precision' => 255,'nullable' => false),
'active' => array('type' => 'int','precision'
=> 2,'nullable' => true),
'custom_sort' => array('type' =>
'int','precision' => 4,'nullable' => true)
),
Modified: trunk/phpgwapi/setup/tables_update.inc.php
===================================================================
--- trunk/phpgwapi/setup/tables_update.inc.php 2011-09-30 17:35:22 UTC (rev
7765)
+++ trunk/phpgwapi/setup/tables_update.inc.php 2011-09-30 17:41:59 UTC (rev
7766)
@@ -2933,3 +2933,20 @@
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
}
+
+ $test[] = '0.9.17.534';
+ /**
+ * Need more space for filename
+ *
+ * @return string the new version number
+ */
+ function phpgwapi_upgrade0_9_17_534()
+ {
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_cust_function','file_name',
array('type' => 'varchar','precision' => 255,'nullable' => false));
+ if($GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit())
+ {
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] =
'0.9.17.535';
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
+ }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7766] update custom functions,
Sigurd Nes <=