egroupware_official/filemanager/setup/tables_update.inc.php
2003-08-28 14:31:11 +00:00

61 lines
1.9 KiB
PHP

<?php
/**************************************************************************\
* phpGroupWare - filemanager *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
/* MOVED TO API
$test[] = '0.9.13.001';
function filemanager_upgrade0_9_13_001()
{
global $setup_info, $phpgw_setup;
$phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_directory', array ('type' => 'text'));
$phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_name', array ('type' => 'text'));
$setup_info['filemanager']['currentver'] = '0.9.13.002';
return $setup_info['filemanager']['currentver'];
}
$test[] = '0.9.13.002';
function filemanager_upgrade0_9_13_002()
{
global $setup_info;
$setup_info['filemanager']['currentver'] = '0.9.13.003';
return $setup_info['filemanager']['currentver'];
}
$test[] = '0.9.13.003';
function filemanager_upgrade0_9_13_003()
{
global $setup_info;
$setup_info['filemanager']['currentver'] = '0.9.13.004';
return $setup_info['filemanager']['currentver'];
}
$test[] = '0.9.13.004';
function filemanager_upgrade0_9_13_004()
{
global $setup_info, $phpgw_setup;
$phpgw_setup->oProc->AddColumn('phpgw_vfs', 'version', array ('type' => 'varchar', 'precision' => 30,'nullable' => False, 'default' => '0.0.0.0'));
$setup_info['filemanager']['currentver'] = '0.9.13.005';
return $setup_info['filemanager']['currentver'];
}
*/
?>