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.11.2.2,1.11.2.2.2


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: projects/setup setup.inc.php,1.11.2.2,1.11.2.2.2.1 tables_current.inc.php,1.11.2.1,1.11.2.1.2.1 tables_update.inc.php,1.15.2.1.2.1,1.15.2.1.2.2
Date: Mon, 02 Jun 2003 18:11:25 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        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.11.2.2
retrieving revision 1.11.2.2.2.1
diff -C2 -r1.11.2.2 -r1.11.2.2.2.1
*** setup.inc.php       18 Aug 2002 22:36:34 -0000      1.11.2.2
--- setup.inc.php       2 Jun 2003 22:11:23 -0000       1.11.2.2.2.1
***************
*** 13,17 ****
        $setup_info['projects']['name']      = 'projects';
        $setup_info['projects']['title']     = 'Projects';
!       $setup_info['projects']['version']   = '0.8.6';
        $setup_info['projects']['app_order'] = 13;
        $setup_info['projects']['enable']    = 1;
--- 13,17 ----
        $setup_info['projects']['name']      = 'projects';
        $setup_info['projects']['title']     = 'Projects';
!       $setup_info['projects']['version']   = '0.8.6.002';
        $setup_info['projects']['app_order'] = 13;
        $setup_info['projects']['enable']    = 1;
***************
*** 53,57 ****
        (
                 'appname' => 'phpgwapi',
!                'versions' => Array('0.9.13','0.9.14')
        );
  
--- 53,57 ----
        (
                 'appname' => 'phpgwapi',
!                'versions' => Array('0.9.14','0.9.16')
        );
  
***************
*** 65,69 ****
        (
                 'appname' => 'admin',
!                'versions' => Array('0.9.13','0.9.14')
        );
  
--- 65,69 ----
        (
                 'appname' => 'admin',
!                'versions' => Array('0.9.13','0.9.14','0.9.16')
        );
  
***************
*** 71,75 ****
        (
                 'appname' => 'preferences',
!                'versions' => Array('0.9.13','0.9.14')
        );
  ?>
--- 71,75 ----
        (
                 'appname' => 'preferences',
!                'versions' => Array('0.9.13','0.9.14','0.9.16')
        );
  ?>

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/tables_current.inc.php,v
retrieving revision 1.11.2.1
retrieving revision 1.11.2.1.2.1
diff -C2 -r1.11.2.1 -r1.11.2.1.2.1
*** tables_current.inc.php      24 Jan 2002 21:10:44 -0000      1.11.2.1
--- tables_current.inc.php      2 Jun 2003 22:11:23 -0000       1.11.2.1.2.1
***************
*** 32,36 ****
                                'budget' => array('type' => 
'decimal','precision' => 20,'scale' => 2,'default' => 0,'nullable' => False),
                                'category' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False),
!                               'parent' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False)
                        ),
                        'pk' => array('id'),
--- 32,40 ----
                                'budget' => array('type' => 
'decimal','precision' => 20,'scale' => 2,'default' => 0,'nullable' => False),
                                'category' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False),
!                               'parent' => array('type' => 'int','precision' 
=> 4,'default' => 0,'nullable' => False),
!                               'time_planned' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
!                               'date_created' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
!                               'processor' => array('type' => 
'int','precision' => 4,'default' => 0,'nullable' => False),
!                               'investment_nr' => array('type' => 
'varchar','precision' => 50,'nullable' => False)
                        ),
                        'pk' => array('id'),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/setup/tables_update.inc.php,v
retrieving revision 1.15.2.1.2.1
retrieving revision 1.15.2.1.2.2
diff -C2 -r1.15.2.1.2.1 -r1.15.2.1.2.2
*** tables_update.inc.php       16 May 2003 22:21:01 -0000      1.15.2.1.2.1
--- tables_update.inc.php       2 Jun 2003 22:11:23 -0000       1.15.2.1.2.2
***************
*** 18,22 ****
                        $all_tables[] = $val['table_name'];
                }
!               if($GLOBALS['phpgw_setup']->isinarray($table,$all_tables))
                {
                        if ($GLOBALS['DEBUG']) { echo '<br>' . $table . ' 
exists.'; }
--- 18,22 ----
                        $all_tables[] = $val['table_name'];
                }
!               if(in_array($table,$all_tables))
                {
                        if ($GLOBALS['DEBUG']) { echo '<br>' . $table . ' 
exists.'; }
***************
*** 328,331 ****
--- 328,351 ----
        {
                $GLOBALS['setup_info']['projects']['currentver'] = '0.8.6';
+               return $GLOBALS['setup_info']['projects']['currentver'];
+       }
+ 
+       $test[] = '0.8.6';
+       function projects_upgrade0_8_6()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_projects','time_planned',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_projects','date_created',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_projects','processor',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
+ 
+               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.6.001';
+               return $GLOBALS['setup_info']['projects']['currentver'];
+       }
+ 
+       $test[] = '0.8.6.001';
+       function projects_upgrade0_8_6_001()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_p_projects','investment_nr',array('type'
 => 'varchar','precision' => 50,'nullable' => False));
+ 
+               $GLOBALS['setup_info']['projects']['currentver'] = '0.8.6.002';
                return $GLOBALS['setup_info']['projects']['currentver'];
        }





reply via email to

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