mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
fix: to short column definition for remark field in link class
This commit is contained in:
parent
b849696eb2
commit
4910d3d599
@ -14,7 +14,7 @@
|
|||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
||||||
$setup_info['phpgwapi']['version'] = '1.3.009';
|
$setup_info['phpgwapi']['version'] = '1.3.010';
|
||||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.28';
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.28';
|
||||||
$setup_info['phpgwapi']['enable'] = 3;
|
$setup_info['phpgwapi']['enable'] = 3;
|
||||||
$setup_info['phpgwapi']['app_order'] = 1;
|
$setup_info['phpgwapi']['app_order'] = 1;
|
||||||
@ -52,6 +52,8 @@
|
|||||||
$setup_info['phpgwapi']['tables'][] = 'egw_syncmldevinfo';
|
$setup_info['phpgwapi']['tables'][] = 'egw_syncmldevinfo';
|
||||||
$setup_info['phpgwapi']['tables'][] = 'egw_syncmlsummary';
|
$setup_info['phpgwapi']['tables'][] = 'egw_syncmlsummary';
|
||||||
$setup_info['phpgwapi']['tables'][] = 'egw_links';
|
$setup_info['phpgwapi']['tables'][] = 'egw_links';
|
||||||
|
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook';
|
||||||
|
$setup_info['phpgwapi']['tables'][] = 'egw_addressbook_extra';
|
||||||
|
|
||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['notifywindow']['name'] = 'notifywindow';
|
$setup_info['notifywindow']['name'] = 'notifywindow';
|
||||||
@ -67,3 +69,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -480,7 +480,7 @@
|
|||||||
'link_id1' => array('type' => 'varchar','precision' => '50','nullable' => False),
|
'link_id1' => array('type' => 'varchar','precision' => '50','nullable' => False),
|
||||||
'link_app2' => array('type' => 'varchar','precision' => '25','nullable' => False),
|
'link_app2' => array('type' => 'varchar','precision' => '25','nullable' => False),
|
||||||
'link_id2' => array('type' => 'varchar','precision' => '50','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_lastmod' => array('type' => 'int','precision' => '4','nullable' => False),
|
||||||
'link_owner' => array('type' => 'int','precision' => '4','nullable' => False)
|
'link_owner' => array('type' => 'int','precision' => '4','nullable' => False)
|
||||||
),
|
),
|
||||||
@ -567,5 +567,5 @@
|
|||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
'ix' => array(),
|
'ix' => array(),
|
||||||
'uc' => array()
|
'uc' => array()
|
||||||
),
|
)
|
||||||
);
|
);
|
||||||
|
@ -562,3 +562,15 @@
|
|||||||
}
|
}
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.009';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.009';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '1.3.009';
|
||||||
|
function phpgwapi_upgrade1_3_009()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_links','link_remark',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '100'
|
||||||
|
));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.010';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user