forked from extern/egroupware
Add 'content' column to phpgw_vfs table
This commit is contained in:
parent
56e30222db
commit
b3c3791b5e
@ -329,6 +329,7 @@
|
|||||||
'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')
|
'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
|
||||||
|
'content' => array('type' => 'text','nullable' => False)
|
||||||
),
|
),
|
||||||
'pk' => array('file_id'),
|
'pk' => array('file_id'),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
|
@ -78,4 +78,13 @@
|
|||||||
$setup_info['phpgwapi']['currentver'] = '0.9.15.003';
|
$setup_info['phpgwapi']['currentver'] = '0.9.15.003';
|
||||||
return $setup_info['phpgwapi']['currentver'];
|
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'];
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user