[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/setup tables_current.inc.php tables_up...
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] phpgwapi/setup tables_current.inc.php tables_up... |
Date: |
Wed, 29 Mar 2006 09:41:51 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Branch:
Changes by: Sigurd Nes <address@hidden> 06/03/29 09:41:51
Modified files:
setup : tables_current.inc.php tables_update.inc.php
setup.inc.php
Log message:
Custom functions
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/setup/tables_current.inc.php.diff?tr1=1.58&tr2=1.59&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/setup/tables_update.inc.php.diff?tr1=1.88&tr2=1.89&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/setup/setup.inc.php.diff?tr1=1.70&tr2=1.71&r1=text&r2=text
Patches:
Index: phpgwapi/setup/setup.inc.php
diff -u phpgwapi/setup/setup.inc.php:1.70 phpgwapi/setup/setup.inc.php:1.71
--- phpgwapi/setup/setup.inc.php:1.70 Sun Mar 26 19:55:33 2006
+++ phpgwapi/setup/setup.inc.php Wed Mar 29 09:41:51 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.70 2006/03/26 19:55:33 sigurdne Exp $
+ * @version $Id: setup.inc.php,v 1.71 2006/03/29 09:41:51 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.503';
+ $setup_info['phpgwapi']['version'] = '0.9.17.504';
$setup_info['phpgwapi']['versions']['current_header'] = '1.24';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;
@@ -58,6 +58,7 @@
$setup_info['phpgwapi']['tables'][] = 'phpgw_cust_field_values';
$setup_info['phpgwapi']['tables'][] = 'phpgw_cust_attribute';
$setup_info['phpgwapi']['tables'][] = 'phpgw_cust_choice';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_cust_function';
// Basic information about this app
$setup_info['notifywindow']['name'] = 'notifywindow';
Index: phpgwapi/setup/tables_current.inc.php
diff -u phpgwapi/setup/tables_current.inc.php:1.58
phpgwapi/setup/tables_current.inc.php:1.59
--- phpgwapi/setup/tables_current.inc.php:1.58 Sun Mar 26 19:55:33 2006
+++ phpgwapi/setup/tables_current.inc.php Wed Mar 29 09:41:51 2006
@@ -5,7 +5,7 @@
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package phpgwapi
* @subpackage setup
- * @version $Id: tables_current.inc.php,v 1.58 2006/03/26 19:55:33
sigurdne Exp $
+ * @version $Id: tables_current.inc.php,v 1.59 2006/03/29 09:41:51
sigurdne Exp $
* @internal $Source:
/sources/phpgwapi/phpgwapi/setup/tables_current.inc.php,v $
*/
@@ -638,5 +638,21 @@
'ix' => array(),
'uc' => array()
),
+ 'phpgw_cust_function' => array(
+ 'fd' => array(
+ 'appname' => array('type' =>
'varchar','precision' => '20','nullable' => False),
+ 'location' => array('type' =>
'varchar','precision' => '30','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),
+ 'active' => array('type' => 'int','precision'
=> '2','nullable' => True),
+ 'custom_sort' => array('type' =>
'int','precision' => '4','nullable' => True)
+ ),
+ 'pk' => array('appname','location','id'),
+ 'fk' => array(),
+ 'ix' => array(),
+ 'uc' => array()
+ ),
+
);
?>
Index: phpgwapi/setup/tables_update.inc.php
diff -u phpgwapi/setup/tables_update.inc.php:1.88
phpgwapi/setup/tables_update.inc.php:1.89
--- phpgwapi/setup/tables_update.inc.php:1.88 Mon Mar 27 07:25:44 2006
+++ phpgwapi/setup/tables_update.inc.php Wed Mar 29 09:41:51 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.88 2006/03/27 07:25:44
sigurdne Exp $
+ * @version $Id: tables_update.inc.php,v 1.89 2006/03/29 09:41:51
sigurdne Exp $
* @internal $Source:
/sources/phpgwapi/phpgwapi/setup/tables_update.inc.php,v $
*/
@@ -1326,4 +1326,32 @@
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
+ $test[] = '0.9.17.503';
+ function phpgwapi_upgrade0_9_17_503()
+ {
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+
+ $GLOBALS['phpgw_setup']->oProc->CreateTable(
+ 'phpgw_cust_function', array(
+ 'fd' => array(
+ 'appname' => array('type' =>
'varchar','precision' => '20','nullable' => False),
+ 'location' => array('type' =>
'varchar','precision' => '30','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),
+ 'active' => array('type' =>
'int','precision' => '2','nullable' => True),
+ 'custom_sort' => array('type' =>
'int','precision' => '4','nullable' => True)
+ ),
+ 'pk' => array('appname','location','id'),
+ 'fk' => array(),
+ 'ix' => array(),
+ 'uc' => array()
+ )
+ );
+
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.17.504';
+ $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit();
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
+
?>