forked from extern/egroupware
[etemplate] - Changed datatype text->longtext on egw_etemplate.et_data
This commit is contained in:
parent
7ab746e386
commit
1e6ce9fd6e
@ -13,7 +13,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$setup_info['etemplate']['name'] = 'etemplate';
|
$setup_info['etemplate']['name'] = 'etemplate';
|
||||||
$setup_info['etemplate']['version'] = '1.4';
|
$setup_info['etemplate']['version'] = '1.5.001';
|
||||||
$setup_info['etemplate']['app_order'] = 60; // just behind the developers-tools
|
$setup_info['etemplate']['app_order'] = 60; // just behind the developers-tools
|
||||||
$setup_info['etemplate']['tables'] = array('egw_etemplate');
|
$setup_info['etemplate']['tables'] = array('egw_etemplate');
|
||||||
$setup_info['etemplate']['enable'] = 1;
|
$setup_info['etemplate']['enable'] = 1;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
'et_lang' => array('type' => 'varchar','precision' => '5','nullable' => False,'default' => ''),
|
'et_lang' => array('type' => 'varchar','precision' => '5','nullable' => False,'default' => ''),
|
||||||
'et_group' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'et_group' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'et_version' => array('type' => 'varchar','precision' => '20','nullable' => False,'default' => ''),
|
'et_version' => array('type' => 'varchar','precision' => '20','nullable' => False,'default' => ''),
|
||||||
'et_data' => array('type' => 'text','nullable' => True),
|
'et_data' => array('type' => 'longtext','nullable' => True),
|
||||||
'et_size' => array('type' => 'varchar','precision' => '128','nullable' => True),
|
'et_size' => array('type' => 'varchar','precision' => '128','nullable' => True),
|
||||||
'et_style' => array('type' => 'text','nullable' => True),
|
'et_style' => array('type' => 'text','nullable' => True),
|
||||||
'et_modified' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0')
|
'et_modified' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0')
|
||||||
|
@ -106,4 +106,15 @@
|
|||||||
|
|
||||||
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.4';
|
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.4';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '1.4';
|
||||||
|
function etemplate_upgrade1_4()
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_etemplate','et_data',array(
|
||||||
|
'type' => 'longtext',
|
||||||
|
'nullable' => True,
|
||||||
|
));
|
||||||
|
|
||||||
|
return $GLOBALS['setup_info']['etemplate']['currentver'] = '1.5.001';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user