phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.48,1.49 tables_cu


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.48,1.49 tables_current.inc.php,1.41,1.42 tables_update.inc.php,1.61,1.62
Date: Sat, 26 Oct 2002 18:39:21 -0400

Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv18604/setup

Modified Files:
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
removed app_title plus update default layout to use xslt

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -r1.48 -r1.49
*** setup.inc.php       23 Oct 2002 20:47:31 -0000      1.48
--- setup.inc.php       26 Oct 2002 22:39:19 -0000      1.49
***************
*** 14,18 ****
        /* Basic information about this app */
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.15.006';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.22';
        $setup_info['phpgwapi']['enable']    = 3;
--- 14,18 ----
        /* Basic information about this app */
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.15.008';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.22';
        $setup_info['phpgwapi']['enable']    = 3;

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** tables_current.inc.php      26 Aug 2002 07:51:54 -0000      1.41
--- tables_current.inc.php      26 Oct 2002 22:39:19 -0000      1.42
***************
*** 17,21 ****
                                'config_app' => array('type' => 'varchar', 
'precision' => 50),
                                'config_name' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'config_value' => array('type' => 'varchar', 
'precision' => 100)
                        ),
                        'pk' => array(),
--- 17,21 ----
                                'config_app' => array('type' => 'varchar', 
'precision' => 50),
                                'config_name' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'config_value' => array('type' => 'text', 
'nullable' => false)
                        ),
                        'pk' => array(),
***************
*** 28,32 ****
                                'app_id' => array('type' => 'auto', 'precision' 
=> 4, 'nullable' => false),
                                'app_name' => array('type' => 'varchar', 
'precision' => 25, 'nullable' => false),
-                               'app_title' => array('type' => 'varchar', 
'precision' => 50),
                                'app_enabled' => array('type' => 'int', 
'precision' => 4),
                                'app_order' => array('type' => 'int', 
'precision' => 4),
--- 28,31 ----

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -r1.61 -r1.62
*** tables_update.inc.php       24 Sep 2002 05:21:37 -0000      1.61
--- tables_update.inc.php       26 Oct 2002 22:39:19 -0000      1.62
***************
*** 115,117 ****
--- 115,155 ----
        }
  
+ 
+ 
+       $test[] = '0.9.15.006';
+       function phpgwapi_upgrade0_9_15_006()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_config','config_value',array(
+                       'type' => 'text',
+                       'nullable' => False
+               ));
+ 
+ 
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.007';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
+ 
+       $test[] = '0.9.15.007';
+       function phpgwapi_upgrade0_9_15_007()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->DropColumn('phpgw_applications',array(
+                       'fd' => array(
+                               'app_id' => array('type' => 'auto','precision' 
=> '4','nullable' => False),
+                               'app_name' => array('type' => 
'varchar','precision' => '25','nullable' => False),
+                               'app_enabled' => array('type' => 
'int','precision' => '4'),
+                               'app_order' => array('type' => 
'int','precision' => '4'),
+                               'app_tables' => array('type' => 'text'),
+                               'app_version' => array('type' => 
'varchar','precision' => '20','nullable' => False,'default' => '0.0')
+                       ),
+                       'pk' => array('app_id'),
+                       'fk' => array(),
+                       'ix' => array(),
+                       'uc' => array('app_name')
+               ),'app_title');
+ 
+ 
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.008';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
  ?>





reply via email to

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