forked from extern/egroupware
another mysql 4.1+ index length fix
This commit is contained in:
parent
4dc6d41846
commit
6fe97c4ead
@ -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.2.004';
|
$setup_info['phpgwapi']['version'] = '1.2.005';
|
||||||
$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;
|
||||||
|
@ -509,8 +509,8 @@
|
|||||||
'egw_contentmap' => array(
|
'egw_contentmap' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'map_id' => array('type' => 'varchar','precision' => '128','nullable' => False),
|
'map_id' => array('type' => 'varchar','precision' => '128','nullable' => False),
|
||||||
'map_guid' => array('type' => 'varchar','precision' => '128','nullable' => False),
|
'map_guid' => array('type' => 'varchar','precision' => '100','nullable' => False),
|
||||||
'map_locuid' => array('type' => 'varchar','precision' => '128','nullable' => False),
|
'map_locuid' => array('type' => 'varchar','precision' => '100','nullable' => False),
|
||||||
'map_timestamp' => array('type' => 'timestamp','nullable' => False),
|
'map_timestamp' => array('type' => 'timestamp','nullable' => False),
|
||||||
'map_expired' => array('type' => 'bool','nullable' => False)
|
'map_expired' => array('type' => 'bool','nullable' => False)
|
||||||
),
|
),
|
||||||
|
@ -1115,4 +1115,21 @@
|
|||||||
|
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.004';
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.004';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '1.2.004';
|
||||||
|
function phpgwapi_upgrade1_2_004()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_contentmap','map_guid',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '100',
|
||||||
|
'nullable' => False
|
||||||
|
));
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_contentmap','map_locuid',array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => '100',
|
||||||
|
'nullable' => False
|
||||||
|
));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.2.005';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user