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.13.2.3,1.13.2.3.2.1 t


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/setup setup.inc.php,1.13.2.3,1.13.2.3.2.1 tables_current.inc.php,1.6.2.1,1.6.2.1.2.1 tables_update.inc.php,1.13.2.3,1.13.2.3.2.1
Date: Mon, 05 May 2003 02:08:19 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
changes needed for sync

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/setup.inc.php,v
retrieving revision 1.13.2.3
retrieving revision 1.13.2.3.2.1
diff -C2 -r1.13.2.3 -r1.13.2.3.2.1
*** setup.inc.php       15 May 2002 17:25:20 -0000      1.13.2.3
--- setup.inc.php       5 May 2003 06:08:17 -0000       1.13.2.3.2.1
***************
*** 14,18 ****
        $setup_info['todo']['name']      = 'todo';
        $setup_info['todo']['title']     = 'To Do List';
!       $setup_info['todo']['version']   = '0.9.14';
        $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.14.500';
        $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.2.1
retrieving revision 1.6.2.1.2.1
diff -C2 -r1.6.2.1 -r1.6.2.1.2.1
*** tables_current.inc.php      1 Feb 2002 05:18:31 -0000       1.6.2.1
--- tables_current.inc.php      5 May 2003 06:08:17 -0000       1.6.2.1.2.1
***************
*** 15,36 ****
                'phpgw_todo' => array(
                        'fd' => array(
!                               'todo_id' => array('type' => 'auto', 'nullable' 
=> false),
!                               'todo_id_parent' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
!                               'todo_id_main' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
!                               'todo_level' => array('type' => 'int', 
'precision' => 2, 'default' => 0, 'nullable' => false),
!                               'todo_owner' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
!                               'todo_access' => array('type' => 'varchar', 
'precision' => 7),
!                               'todo_cat' => array('type' => 'int', 
'precision' => 4, 'default' => 0, 'nullable' => false),
!                               'todo_title' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'todo_des' => array('type' => 'text'),
!                               'todo_pri' => array('type' => 'int', 
'precision' => 4),
!                               'todo_status' => array('type' => 'int', 
'precision' => 4),
!                               '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'),
                        'fk' => array(),
!                       'ix' => array(),
                        'uc' => array()
                )
--- 15,37 ----
                'phpgw_todo' => array(
                        'fd' => array(
!                               'todo_id' => array('type' => 'auto','nullable' 
=> False),
!                               'todo_id_parent' => array('type' => 
'int','precision' => '4','nullable' => False,'default' => '0'),
!                               'todo_id_main' => array('type' => 
'int','precision' => '4','nullable' => False,'default' => '0'),
!                               'todo_level' => array('type' => 
'int','precision' => '2','nullable' => False,'default' => '0'),
!                               'todo_owner' => array('type' => 
'int','precision' => '4','nullable' => False,'default' => '0'),
!                               'todo_access' => array('type' => 
'varchar','precision' => '7','nullable' => False),
!                               'todo_cat' => array('type' => 'int','precision' 
=> '4','nullable' => False,'default' => '0'),
!                               'todo_title' => array('type' => 
'varchar','precision' => '255','nullable' => False),
!                               'todo_des' => array('type' => 'text','nullable' 
=> False),
!                               'todo_pri' => array('type' => 'int','precision' 
=> '4','nullable' => False),
!                               'todo_status' => array('type' => 
'int','precision' => '4','nullable' => False),
!                               'todo_datecreated' => array('type' => 
'int','precision' => '4','nullable' => False),
!                               'todo_startdate' => array('type' => 
'int','precision' => '4','nullable' => False),
!                               'todo_enddate' => array('type' => 
'int','precision' => '4','nullable' => False,'default' => '0'),
!                               'entry_date' => array('type' => 
'int','precision' => '4','nullable' => False,'default' => '0')
                        ),
                        'pk' => array('todo_id'),
                        'fk' => array(),
!                       'ix' => array('entry_date'),
                        'uc' => array()
                )

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/setup/tables_update.inc.php,v
retrieving revision 1.13.2.3
retrieving revision 1.13.2.3.2.1
diff -C2 -r1.13.2.3 -r1.13.2.3.2.1
*** tables_update.inc.php       14 May 2002 21:44:20 -0000      1.13.2.3
--- tables_update.inc.php       5 May 2003 06:08:17 -0000       1.13.2.3.2.1
***************
*** 631,633 ****
--- 631,649 ----
                return $GLOBALS['setup_info']['todo']['currentver'];
        }
+ 
+ 
+       $test[] = '0.9.14';
+       function todo_upgrade0_9_14()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_todo','entry_date',array(
+                       'type' => 'int',
+                       'precision' => '4',
+                       'nullable' => False,
+                       'default' => '0'
+               ));
+ 
+ 
+               $GLOBALS['setup_info']['todo']['currentver'] = '0.9.014.500';
+               return $GLOBALS['setup_info']['todo']['currentver'];
+       }
  ?>





reply via email to

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