mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-11 07:50:16 +01:00
Added link_directory, link_name, and version columns
This commit is contained in:
parent
d633286c8f
commit
5e5e2d8481
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
$setup_info['phpwebhosting']['name'] = 'phpwebhosting';
|
$setup_info['phpwebhosting']['name'] = 'phpwebhosting';
|
||||||
$setup_info['phpwebhosting']['title'] = 'PHPWebHosting';
|
$setup_info['phpwebhosting']['title'] = 'PHPWebHosting';
|
||||||
$setup_info['phpwebhosting']['version'] = '0.9.13.004';
|
$setup_info['phpwebhosting']['version'] = '0.9.13.005';
|
||||||
$setup_info['phpwebhosting']['app_order'] = 10;
|
$setup_info['phpwebhosting']['app_order'] = 10;
|
||||||
$setup_info['phpwebhosting']['tables'] = array('phpgw_vfs');
|
$setup_info['phpwebhosting']['tables'] = array('phpgw_vfs');
|
||||||
$setup_info['phpwebhosting']['enable'] = 1;
|
$setup_info['phpwebhosting']['enable'] = 1;
|
||||||
|
@ -33,7 +33,8 @@
|
|||||||
'directory' => array('type' => 'text','nullable' => True),
|
'directory' => array('type' => 'text','nullable' => True),
|
||||||
'name' => array('type' => 'text','nullable' => False),
|
'name' => array('type' => 'text','nullable' => False),
|
||||||
'link_directory' => array('type' => 'text','nullable' => True),
|
'link_directory' => array('type' => 'text','nullable' => True),
|
||||||
'link_name' => array('type' => 'text','nullable' => True)
|
'link_name' => array('type' => 'text','nullable' => True),
|
||||||
|
'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
|
||||||
),
|
),
|
||||||
'pk' => array('file_id'),
|
'pk' => array('file_id'),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
|
@ -43,4 +43,16 @@
|
|||||||
return $setup_info['phpwebhosting']['currentver'];
|
return $setup_info['phpwebhosting']['currentver'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '0.9.13.004';
|
||||||
|
function phpwebhosting_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['phpwebhosting']['currentver'] = '0.9.13.005';
|
||||||
|
|
||||||
|
return $setup_info['phpwebhosting']['currentver'];
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user