phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: projects/setup setup.inc.php, 1.20, 1.21 tables_


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: projects/setup setup.inc.php, 1.20, 1.21 tables_current.inc.php, 1.14, 1.15 tables_update.inc.php, 1.21, 1.22
Date: Wed, 10 Sep 2003 22:47:58 -0400

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

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

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/setup.inc.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** setup.inc.php       10 Sep 2003 00:28:57 -0000      1.20
--- setup.inc.php       11 Sep 2003 02:47:56 -0000      1.21
***************
*** 12,16 ****
  
        $setup_info['projects']['name']      = 'projects';
!       $setup_info['projects']['version']   = '0.8.7.006';
        $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.008';
        $setup_info['projects']['app_order'] = 13;
        $setup_info['projects']['enable']    = 1;

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/tables_current.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** tables_current.inc.php      17 Jun 2003 12:39:16 -0000      1.14
--- tables_current.inc.php      11 Sep 2003 02:47:56 -0000      1.15
***************
*** 37,41 ****
                                'processor' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
                                'investment_nr' => array('type' => 
'varchar','precision' => 50,'nullable' => False),
!                               'pcosts' => array('type' => 
'decimal','precision' => 20,'scale' => 2,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),
--- 37,44 ----
                                'processor' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
                                'investment_nr' => array('type' => 
'varchar','precision' => 50,'nullable' => False),
!                               'pcosts' => array('type' => 
'decimal','precision' => 20,'scale' => 2,'default' => 0,'nullable' => False),
!                               'main' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False),
!                               'level' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False),
!                               'previous' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),
***************
*** 163,166 ****
--- 166,181 ----
                        ),
                        'pk' => array('c_id'),
+                       'fk' => array(),
+                       'ix' => array(),
+                       'uc' => array()
+               ),
+               'phpgw_p_mstones' => array(
+                       'fd' => array(
+                               's_id' => array('type' => 'auto','nullable' => 
False),
+                               'project_id' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
+                               'title' => array('type' => 
'varchar','precision' => 255,'nullable' => False),
+                               'edate' => array('type' => 'int','precision' => 
4,'default' => 0,'nullable' => False)
+                       ),
+                       'pk' => array('s_id'),
                        'fk' => array(),
                        'ix' => array(),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/tables_update.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** tables_update.inc.php       10 Sep 2003 00:28:57 -0000      1.21
--- tables_update.inc.php       11 Sep 2003 02:47:56 -0000      1.22
***************
*** 376,380 ****
        function projects_upgrade0_8_6_006()
        {
!               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.006';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }
--- 376,380 ----
        function projects_upgrade0_8_6_006()
        {
!               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.007';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }
***************
*** 437,440 ****
--- 437,447 ----
                
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_p_projects','num',array('type'
 => 'varchar','precision' => 255,'nullable' => False));
  
+               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.006';
+               return $GLOBALS['setup_info']['projects']['currentver'];
+       }
+ 
+       $test[] = '0.8.7.006';
+       function projects_upgrade0_8_7_006()
+       {
                $GLOBALS['phpgw_setup']->oProc->CreateTable(
                        'phpgw_p_mstones', array(
***************
*** 452,456 ****
                );
  
!               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.006';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }
--- 459,472 ----
                );
  
!               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.007';
!               return $GLOBALS['setup_info']['projects']['currentver'];
!       }
! 
!       $test[] = '0.8.7.007';
!       function projects_upgrade0_8_7_007()
!       {
!               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_projects','previous',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
! 
!               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.7.008';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }





reply via email to

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