egroupware_official/filemanager/setup/tables_update.inc.php

61 lines
1.9 KiB
PHP
Raw Normal View History

<?php
/**************************************************************************\
2004-01-27 19:19:23 +01:00
* eGroupWare - filemanager *
* http://www.egroupware.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. *
\**************************************************************************/
2001-08-11 12:31:39 +02:00
/* $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'];
}
*/
?>