phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: todo/setup setup.inc.php,1.23,1.24 tables_curren


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/setup setup.inc.php,1.23,1.24 tables_current.inc.php,1.9,1.10 tables_update.inc.php,1.16,1.17
Date: Mon, 05 May 2003 20:53:40 -0400

Update of /cvsroot/phpgroupware/todo/setup
In directory subversions:/tmp/cvs-serv5914/setup

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

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/setup.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** setup.inc.php       28 Oct 2002 01:31:33 -0000      1.23
--- setup.inc.php       6 May 2003 00:53:38 -0000       1.24
***************
*** 13,17 ****
  
        $setup_info['todo']['name']      = 'todo';
!       $setup_info['todo']['version']   = '0.9.15.002';
        $setup_info['todo']['app_order'] = 9;
        $setup_info['todo']['tables']    = array('phpgw_todo');
--- 13,17 ----
  
        $setup_info['todo']['name']      = 'todo';
!       $setup_info['todo']['version']   = '0.9.15.003';
        $setup_info['todo']['app_order'] = 9;
        $setup_info['todo']['tables']    = array('phpgw_todo');

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/tables_current.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** tables_current.inc.php      1 Feb 2002 05:18:54 -0000       1.9
--- tables_current.inc.php      6 May 2003 00:53:38 -0000       1.10
***************
*** 1,13 ****
  <?php
!   /**************************************************************************\
!   * phpGroupWare                                                             *
!   * http://www.phpgroupware.org                                              *
!   * --------------------------------------------                             *
!   *  This program is free software; you can redistribute it and/or modify it *
!   *  under the terms of the GNU General Public License as published by the   *
!   *  Free Software Foundation; either version 2 of the License, or (at your  *
!   *  option) any later version.                                              *
!   \**************************************************************************/
!   /* $Id$ */
  
        $phpgw_baseline = array(
--- 1,13 ----
  <?php
!       
/**************************************************************************\
!       * phpGroupWare                                                          
   *
!       * http://www.phpgroupware.org                                           
   *
!       * --------------------------------------------                          
   *
!       *  This program is free software; you can redistribute it and/or modify 
it *
!       *  under the terms of the GNU General Public License as published by 
the   *
!       *  Free Software Foundation; either version 2 of the License, or (at 
your  *
!       *  option) any later version.                                           
   *
!       
\**************************************************************************/
!       /* $Id$ */
  
        $phpgw_baseline = array(
***************
*** 29,33 ****
                                'todo_enddate' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
                                'todo_assigned' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'assigned_group' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false)
                        ),
                        'pk' => array('todo_id'),
--- 29,34 ----
                                'todo_enddate' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
                                'todo_assigned' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'assigned_group' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'entry_date' => array('type' => 'int', 
'precision' => 4, 'nullable' => false),
                        ),
                        'pk' => array('todo_id'),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/tables_update.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** tables_update.inc.php       14 May 2002 22:12:28 -0000      1.16
--- tables_update.inc.php       6 May 2003 00:53:38 -0000       1.17
***************
*** 725,728 ****
--- 725,735 ----
        }
  
+       $test[] = '0.9.14.500';
+       function todo_upgrade0_9_14_500()
+       {
+               $GLOBALS['setup_info']['todo']['currentver'] = '0.9.15.003';
+               return $GLOBALS['setup_info']['todo']['currentver'];
+       }
+ 
        $test[] = '0.9.15.001';
        function todo_upgrade0_9_15_001()
***************
*** 731,734 ****
--- 738,750 ----
  
                $GLOBALS['setup_info']['todo']['currentver'] = '0.9.15.002';
+               return $GLOBALS['setup_info']['todo']['currentver'];
+       }
+ 
+       $test[] = '0.9.15.002';
+       function todo_upgrade0_9_15_002()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_todo','entry_date',array('type'
 => 'int','precision' => 4,'default' => 0,'nullable' => False));
+ 
+               $GLOBALS['setup_info']['todo']['currentver'] = '0.9.15.003';
                return $GLOBALS['setup_info']['todo']['currentver'];
        }





reply via email to

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