mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 11:53:57 +01:00
add deleted column, to match nathans backport
This commit is contained in:
parent
0e46ac5353
commit
2e44b80d07
@ -13,7 +13,7 @@
|
||||
|
||||
$setup_info['resources']['name'] = 'resources';
|
||||
$setup_info['resources']['title'] = 'Resources';
|
||||
$setup_info['resources']['version'] = '1.9.001';
|
||||
$setup_info['resources']['version'] = '1.9.002';
|
||||
$setup_info['resources']['app_order'] = 5;
|
||||
$setup_info['resources']['tables'] = array('egw_resources','egw_resources_extra');
|
||||
$setup_info['resources']['enable'] = 1;
|
||||
|
@ -28,7 +28,8 @@ $phpgw_baseline = array(
|
||||
'picture_src' => array('type' => 'varchar','precision' => '20'),
|
||||
'accessory_of' => array('type' => 'int','precision' => '11','default' => '-1'),
|
||||
'storage_info' => array('type' => 'varchar','precision' => '200'),
|
||||
'inventory_number' => array('type' => 'varchar','precision' => '20')
|
||||
'inventory_number' => array('type' => 'varchar','precision' => '20'),
|
||||
'deleted' => array('type' => 'int','precision' => '8')
|
||||
),
|
||||
'pk' => array('res_id'),
|
||||
'fk' => array(),
|
||||
|
@ -335,3 +335,14 @@ function resources_upgrade1_8()
|
||||
|
||||
return $GLOBALS['setup_info']['resources']['currentver'] = '1.9.001';
|
||||
}
|
||||
|
||||
function resources_upgrade1_9_001()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->AddColumn('egw_resources','deleted',array(
|
||||
'type' => 'int',
|
||||
'precision' => '8'
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['resources']['currentver'] = '1.9.002';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user