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.14,1.15 tables_curren


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/setup setup.inc.php,1.14,1.15 tables_current.inc.php,1.6,1.7 tables_update.inc.php,1.13,1.14
Date: Sun, 27 Jan 2002 17:24:41 -0500

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

Modified Files:
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
added 'assigned to' field

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/setup.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** setup.inc.php       13 Jan 2002 20:34:04 -0000      1.14
--- setup.inc.php       27 Jan 2002 22:24:38 -0000      1.15
***************
*** 14,18 ****
        $setup_info['todo']['name']      = 'todo';
        $setup_info['todo']['title']     = 'To Do List';
!       $setup_info['todo']['version']   = '0.9.13.004';
        $setup_info['todo']['app_order'] = 9;
        $setup_info['todo']['tables']    = array('phpgw_todo');
--- 14,18 ----
        $setup_info['todo']['name']      = 'todo';
        $setup_info['todo']['title']     = 'To Do List';
!       $setup_info['todo']['version']   = '0.9.15.001';
        $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.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** tables_current.inc.php      24 Jul 2001 01:26:37 -0000      1.6
--- tables_current.inc.php      27 Jan 2002 22:24:38 -0000      1.7
***************
*** 9,13 ****
    *  option) any later version.                                              *
    \**************************************************************************/
- 
    /* $Id$ */
  
--- 9,12 ----
***************
*** 28,32 ****
                                'todo_datecreated' => array('type' => 'int', 
'precision' => 4),
                                'todo_startdate' => array('type' => 'int', 
'precision' => 4),
!                               'todo_enddate' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false)
                        ),
                        'pk' => array('todo_id'),
--- 27,32 ----
                                'todo_datecreated' => array('type' => 'int', 
'precision' => 4),
                                'todo_startdate' => array('type' => 'int', 
'precision' => 4),
!                               'todo_enddate' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
!                               'todo_assigned' => array('type' => 'varchar', 
'precision' => 255, '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.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** tables_update.inc.php       24 Jul 2001 01:26:37 -0000      1.13
--- tables_update.inc.php       27 Jan 2002 22:24:38 -0000      1.14
***************
*** 708,710 ****
--- 708,719 ----
                return $setup_info['todo']['currentver'];
        }
+ 
+       $test[] = '0.9.13.004';
+       function todo_upgrade0_9_13_004()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_todo','todo_assigned',array('type'
 => 'varchar','precision' => 255,'nullable' => False));
+ 
+               $GLOBALS['setup_info']['todo']['currentver'] = '0.9.15.001';
+               return $GLOBALS['setup_info']['todo']['currentver'];
+       }
  ?>




reply via email to

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