mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
VERSION UPGRADE - adjust lang table to accept 255 char messageid
This commit is contained in:
parent
8aa6af0726
commit
29e8cc822c
@ -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'] = 'phpgwapi';
|
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['version'] = '0.9.13.015';
|
$setup_info['phpgwapi']['version'] = '0.9.13.016';
|
||||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.18';
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.18';
|
||||||
$setup_info['phpgwapi']['enable'] = 3;
|
$setup_info['phpgwapi']['enable'] = 3;
|
||||||
$setup_info['phpgwapi']['app_order'] = 1;
|
$setup_info['phpgwapi']['app_order'] = 1;
|
||||||
|
@ -149,7 +149,7 @@
|
|||||||
),
|
),
|
||||||
'lang' => array(
|
'lang' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'message_id' => array('type' => 'varchar', 'precision' => 150, 'nullable' => false, 'default' => ''),
|
'message_id' => array('type' => 'varchar', 'precision' => 255, 'nullable' => false, 'default' => ''),
|
||||||
'app_name' => array('type' => 'varchar', 'precision' => 100, 'nullable' => false, 'default' => 'common'),
|
'app_name' => array('type' => 'varchar', 'precision' => 100, 'nullable' => false, 'default' => 'common'),
|
||||||
'lang' => array('type' => 'varchar', 'precision' => 5, 'nullable' => false, 'default' => ''),
|
'lang' => array('type' => 'varchar', 'precision' => 5, 'nullable' => false, 'default' => ''),
|
||||||
'content' => array('type' => 'text')
|
'content' => array('type' => 'text')
|
||||||
|
@ -1278,7 +1278,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
$phpgw_setup->oProc->query("SELECT * FROM addressbook");
|
$phpgw_setup->oProc->query("SELECT * FROM addressbook");
|
||||||
echo '<br>numrows: ' . $phpgw_setup->oProc->num_rows;
|
/* echo '<br>numrows: ' . $phpgw_setup->oProc->num_rows; */
|
||||||
|
|
||||||
while ($phpgw_setup->oProc->next_record())
|
while ($phpgw_setup->oProc->next_record())
|
||||||
{
|
{
|
||||||
@ -2206,4 +2206,22 @@
|
|||||||
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.015';
|
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.015';
|
||||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '0.9.13.015';
|
||||||
|
function phpgwapi_upgrade0_9_13_015()
|
||||||
|
{
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->AlterColumn(
|
||||||
|
'lang',
|
||||||
|
'message_id',
|
||||||
|
array(
|
||||||
|
'type' => 'varchar',
|
||||||
|
'precision' => 255,
|
||||||
|
'nullable' => false,
|
||||||
|
'default' => ''
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.016';
|
||||||
|
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user