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.15,1.16 tables_curren


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/setup setup.inc.php,1.15,1.16 tables_current.inc.php,1.7,1.8 tables_update.inc.php,1.14,1.15
Date: Wed, 30 Jan 2002 20:33:05 -0500

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

Modified Files:
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
added the option to assign todos to groups

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/setup.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** setup.inc.php       27 Jan 2002 22:24:38 -0000      1.15
--- setup.inc.php       31 Jan 2002 01:33:02 -0000      1.16
***************
*** 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');
--- 14,18 ----
        $setup_info['todo']['name']      = 'todo';
        $setup_info['todo']['title']     = 'To Do List';
!       $setup_info['todo']['version']   = '0.9.15.002';
        $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.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** tables_current.inc.php      27 Jan 2002 22:24:38 -0000      1.7
--- tables_current.inc.php      31 Jan 2002 01:33:02 -0000      1.8
***************
*** 28,32 ****
                                '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'),
--- 28,33 ----
                                '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),
!                               'assigned_group' => 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.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** tables_update.inc.php       27 Jan 2002 22:24:38 -0000      1.14
--- tables_update.inc.php       31 Jan 2002 01:33:02 -0000      1.15
***************
*** 717,719 ****
--- 717,728 ----
                return $GLOBALS['setup_info']['todo']['currentver'];
        }
+ 
+       $test[] = '0.9.15.001';
+       function todo_upgrade0_9_15_001()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_todo','assigned_group',array('type'
 => 'varchar','precision' => 255,'nullable' => False));
+ 
+               $GLOBALS['setup_info']['todo']['currentver'] = '0.9.15.002';
+               return $GLOBALS['setup_info']['todo']['currentver'];
+       }
  ?>




reply via email to

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