phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/setup tables_update.inc.php tables_cur...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/setup tables_update.inc.php tables_cur...
Date: Fri, 10 Mar 2006 09:20:53 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/10 09:20:53

Modified files:
        setup          : tables_update.inc.php tables_current.inc.php 
                         setup.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/setup/tables_update.inc.php.diff?tr1=1.33&tr2=1.34&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/setup/tables_current.inc.php.diff?tr1=1.49&tr2=1.50&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/setup/setup.inc.php.diff?tr1=1.32&tr2=1.33&r1=text&r2=text

Patches:
Index: property/setup/setup.inc.php
diff -u property/setup/setup.inc.php:1.32 property/setup/setup.inc.php:1.33
--- property/setup/setup.inc.php:1.32   Thu Mar  2 12:46:10 2006
+++ property/setup/setup.inc.php        Fri Mar 10 09:20:53 2006
@@ -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.32 2006/03/02 12:46:10 sigurdne Exp $
+       * @version $Id: setup.inc.php,v 1.33 2006/03/10 09:20:53 sigurdne Exp $
        */
 
        $setup_info['property']['name']      = 'property';
        $setup_info['property']['title']         = 'Property';
-       $setup_info['property']['version']   = '0.9.17.515';
+       $setup_info['property']['version']   = '0.9.17.516';
        $setup_info['property']['app_order'] = 8;
        $setup_info['property']['enable']    = 1;
 
Index: property/setup/tables_current.inc.php
diff -u property/setup/tables_current.inc.php:1.49 
property/setup/tables_current.inc.php:1.50
--- property/setup/tables_current.inc.php:1.49  Thu Mar  2 12:46:10 2006
+++ property/setup/tables_current.inc.php       Fri Mar 10 09:20:53 2006
@@ -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.49 2006/03/02 12:46:10 
sigurdne Exp $
+       * @version $Id: tables_current.inc.php,v 1.50 2006/03/10 09:20:53 
sigurdne Exp $
        */
 
        $phpgw_baseline = array(
@@ -738,7 +738,8 @@
                                'quantity' => array('type' => 
'decimal','precision' => '20','scale' => '2','nullable' => True),
                                'cost' => array('type' => 'decimal','precision' 
=> '20','scale' => '2','nullable' => True),
                                'dim_d' => array('type' => 'int','precision' => 
'4','nullable' => True),
-                               'category' => array('type' => 'int','precision' 
=> '4','nullable' => True)
+                               'category' => array('type' => 'int','precision' 
=> '4','nullable' => True),
+                               'cat_per_cent' => array('type' => 
'int','precision' => '4','nullable' => True)
                        ),
                        'pk' => array('id'),
                        'fk' => array(),
Index: property/setup/tables_update.inc.php
diff -u property/setup/tables_update.inc.php:1.33 
property/setup/tables_update.inc.php:1.34
--- property/setup/tables_update.inc.php:1.33   Thu Mar  2 13:11:29 2006
+++ property/setup/tables_update.inc.php        Fri Mar 10 09:20:53 2006
@@ -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.33 2006/03/02 13:11:29 
sigurdne Exp $
+       * @version $Id: tables_update.inc.php,v 1.34 2006/03/10 09:20:53 
sigurdne Exp $
        */
 
        /**
@@ -1069,5 +1069,20 @@
                return $GLOBALS['setup_info']['property']['currentver'];
        }
 
+       /**
+       * Update property version from 0.9.17.515 to 0.9.17.516
+       */
 
+       $test[] = '0.9.17.515';
+       function property_upgrade0_9_17_515()
+       {
+               $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
+               
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('fm_wo_hours','cat_per_cent',array('type'
 => 'int','precision' => 4,'nullable' => True));
+               
+               $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit();
+               
+               $GLOBALS['setup_info']['property']['currentver'] = '0.9.17.516';
+               return $GLOBALS['setup_info']['property']['currentver'];
+       }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]