fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15611] rename field


From: sigurdne
Subject: [Fmsystem-commits] [15611] rename field
Date: Wed, 7 Sep 2016 18:52:55 +0000 (UTC)

Revision: 15611
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15611
Author:   sigurdne
Date:     2016-09-07 18:52:55 +0000 (Wed, 07 Sep 2016)
Log Message:
-----------
rename field

Modified Paths:
--------------
    trunk/rental/setup/tables_update.inc.php

Modified: trunk/rental/setup/tables_update.inc.php
===================================================================
--- trunk/rental/setup/tables_update.inc.php    2016-09-07 18:36:59 UTC (rev 
15610)
+++ trunk/rental/setup/tables_update.inc.php    2016-09-07 18:52:55 UTC (rev 
15611)
@@ -641,8 +641,15 @@
                {
                        
$GLOBALS['phpgw_setup']->oProc->RenameColumn('rental_application', 
'composite_type', 'composite_type_id');
                }
+               if(isset($metadata['address_1']))
+               {
+                       
$GLOBALS['phpgw_setup']->oProc->RenameColumn('rental_application', 'address_1', 
'address1');
+               }
+               if(isset($metadata['address_2']))
+               {
+                       
$GLOBALS['phpgw_setup']->oProc->RenameColumn('rental_application', 'address_2', 
'address2');
+               }
 
-
                if($GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit())
                {
                        $GLOBALS['setup_info']['rental']['currentver'] = 
'0.1.0.28';




reply via email to

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