phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/setup/tables_update.inc.php, 1.50


From: nomail
Subject: [Phpgroupware-cvs] projects/setup/tables_update.inc.php, 1.50
Date: Sun, 20 Jun 2004 00:47:32 +0200

Update of /projects/setup
Modified Files:
        Branch: 
          tables_update.inc.php

date: 2004/06/19 22:47:32;  author: ceb;  state: Exp;  lines: +21 -1

Log Message:
update
=====================================================================
Index: projects/setup/tables_update.inc.php
diff -u projects/setup/tables_update.inc.php:1.49 
projects/setup/tables_update.inc.php:1.50
--- projects/setup/tables_update.inc.php:1.49   Thu Apr 29 15:53:38 2004
+++ projects/setup/tables_update.inc.php        Sat Jun 19 22:47:32 2004
@@ -908,4 +908,24 @@
                $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.036';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }
+
+       $test[] = '0.8.7.036';
+       function projects_upgrade0_8_7_036()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_p_surcharges',array
+               (
+                       'fd' => array
+                       (
+                               'charge_id'                     => array('type' 
=> 'auto','nullable' => False),
+                               'charge_name'           => array('type' => 
'varchar','precision' => 255,'nullable' => False),
+                               'charge_percent'        => array('type' => 
'decimal','precision' => 20,'scale' => 2,'default' => 0,'nullable' => True)
+                       ),
+                       'pk' => array('charge_id'),
+                       'fk' => array(),
+                       'ix' => array(),
+                       'uc' => array()
+               ));
+               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.037';
+               return $GLOBALS['setup_info']['projects']['currentver'];
+       }
 ?>




reply via email to

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