fix: to short column definition for remark field in link class

This commit is contained in:
Cornelius Weiß 2006-06-28 12:24:53 +00:00
parent e879b461b3
commit ee4bd62b03
3 changed files with 16 additions and 2 deletions

View File

@ -14,7 +14,7 @@
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
$setup_info['phpgwapi']['version'] = '1.2.103';
$setup_info['phpgwapi']['version'] = '1.2.104';
$setup_info['phpgwapi']['versions']['current_header'] = '1.28';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;
@ -66,3 +66,5 @@

View File

@ -557,7 +557,7 @@
'link_id1' => array('type' => 'varchar','precision' => '50','nullable' => False),
'link_app2' => array('type' => 'varchar','precision' => '25','nullable' => False),
'link_id2' => array('type' => 'varchar','precision' => '50','nullable' => False),
'link_remark' => array('type' => 'varchar','precision' => '50'),
'link_remark' => array('type' => 'varchar','precision' => '100'),
'link_lastmod' => array('type' => 'int','precision' => '4','nullable' => False),
'link_owner' => array('type' => 'int','precision' => '4','nullable' => False)
),

View File

@ -1188,3 +1188,15 @@
{
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.103';
}
$test[] = '1.2.103';
function phpgwapi_upgrade1_2_103()
{
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_links','link_remark',array(
'type' => 'varchar',
'precision' => '100'
));
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.104';
}
?>