phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/setup setup.inc.php, 1.23, 1.24 tables_curre


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] projects/setup setup.inc.php, 1.23, 1.24 tables_current.inc.php, 1.16, 1.17 tables_update.inc.php, 1.23, 1.24
Date: Thu, 23 Oct 2003 12:15:49 +0000

Update of /cvsroot/phpgroupware/projects/setup
In directory subversions:/tmp/cvs-serv32705/setup

Modified Files:
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
bugfixes

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/tables_current.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** tables_current.inc.php      30 Sep 2003 22:38:02 -0000      1.16
--- tables_current.inc.php      23 Oct 2003 12:15:46 -0000      1.17
***************
*** 116,120 ****
                                'project_id' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
                                'customer' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False),
!                               'sum' => array('type' => 'decimal','precision' 
=> 20,'scale' => 2,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),
--- 116,121 ----
                                'project_id' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
                                'customer' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False),
!                               'sum' => array('type' => 'decimal','precision' 
=> 20,'scale' => 2,'default' => 0,'nullable' => False),
!                               'owner' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),
***************
*** 140,144 ****
                                'date' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False),
                                'project_id' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
!                               'customer' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),
--- 141,146 ----
                                'date' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False),
                                'project_id' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
!                               'customer' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False),
!                               'owner' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/setup.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** setup.inc.php       30 Sep 2003 22:38:02 -0000      1.23
--- setup.inc.php       23 Oct 2003 12:15:46 -0000      1.24
***************
*** 12,16 ****
  
        $setup_info['projects']['name']      = 'projects';
!       $setup_info['projects']['version']   = '0.8.7.009';
        $setup_info['projects']['app_order'] = 13;
        $setup_info['projects']['enable']    = 1;
--- 12,16 ----
  
        $setup_info['projects']['name']      = 'projects';
!       $setup_info['projects']['version']   = '0.8.7.010';
        $setup_info['projects']['app_order'] = 13;
        $setup_info['projects']['enable']    = 1;

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/tables_update.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** tables_update.inc.php       30 Sep 2003 22:38:02 -0000      1.23
--- tables_update.inc.php       23 Oct 2003 12:15:46 -0000      1.24
***************
*** 380,383 ****
--- 380,390 ----
        }
  
+       $test[] = '0.8.6.009';
+       function projects_upgrade0_8_6_009()
+       {
+               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.010';
+               return $GLOBALS['setup_info']['projects']['currentver'];
+       }
+ 
        $test[] = '0.8.7.001';
        function projects_upgrade0_8_7_001()
***************
*** 478,481 ****
--- 485,498 ----
  
                $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.009';
+               return $GLOBALS['setup_info']['projects']['currentver'];
+       }
+ 
+       $test[] = '0.8.7.009';
+       function projects_upgrade0_8_7_009()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_invoice','owner',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_delivery','owner',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
+ 
+               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.010';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }





reply via email to

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