Add 'content' column to phpgw_vfs table

This commit is contained in:
Zone 2002-08-26 04:38:29 +00:00
parent 56e30222db
commit b3c3791b5e
2 changed files with 10 additions and 0 deletions

View File

@ -329,6 +329,7 @@
'link_directory' => 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')
'content' => array('type' => 'text','nullable' => False)
),
'pk' => array('file_id'),
'fk' => array(),

View File

@ -78,4 +78,13 @@
$setup_info['phpgwapi']['currentver'] = '0.9.15.003';
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'];
}
?>