phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.39,1.40


From: Jason Wies <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.39,1.40 tables_update.inc.php,1.57,1.58
Date: Mon, 26 Aug 2002 00:38:31 -0400

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

Modified Files:
        tables_current.inc.php tables_update.inc.php 
Log Message:
Add 'content' column to phpgw_vfs table

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** tables_current.inc.php      19 May 2002 23:02:12 -0000      1.39
--- tables_current.inc.php      26 Aug 2002 04:38:29 -0000      1.40
***************
*** 330,333 ****
--- 330,334 ----
                                'link_name' => array('type' => 
'text','nullable' => True),
                                'version' => array('type' => 'varchar', 
'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
+                               'content' => array('type' => 'text','nullable' 
=> False)
                        ),
                        'pk' => array('file_id'),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -r1.57 -r1.58
*** tables_update.inc.php       19 May 2002 22:52:34 -0000      1.57
--- tables_update.inc.php       26 Aug 2002 04:38:29 -0000      1.58
***************
*** 79,81 ****
--- 79,90 ----
                return $setup_info['phpgwapi']['currentver'];
        }
+ 
+       $test[] = '0.9.15.003';
+       function phpgwapi_upgrade0_9_15_003()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_vfs','content', array ('type' 
=> 'text', 'nullable' => False));
+ 
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.004';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
  ?>





reply via email to

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