forked from extern/egroupware
extend fs_mime (mime type) to varchar(96) to fit application/vnd.openxmlformats-officedocument.wordprocessingml.document (msword xml format)
This commit is contained in:
parent
c6ea1e2720
commit
96c5f58a49
@ -12,7 +12,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['title'] = 'eGroupWare API';
|
||||
$setup_info['phpgwapi']['version'] = '1.7.002';
|
||||
$setup_info['phpgwapi']['version'] = '1.7.003';
|
||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
||||
$setup_info['phpgwapi']['enable'] = 3;
|
||||
$setup_info['phpgwapi']['app_order'] = 1;
|
||||
@ -76,3 +76,4 @@ $setup_info['groupdav']['author'] = $setup_info['groupdav']['maintainer'] = arra
|
||||
);
|
||||
$setup_info['groupdav']['license'] = 'GPL';
|
||||
|
||||
|
||||
|
@ -441,7 +441,7 @@ $phpgw_baseline = array(
|
||||
'fs_gid' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||
'fs_created' => array('type' => 'timestamp','precision' => '8','nullable' => False),
|
||||
'fs_modified' => array('type' => 'timestamp','precision' => '8','nullable' => False),
|
||||
'fs_mime' => array('type' => 'varchar','precision' => '64','nullable' => False),
|
||||
'fs_mime' => array('type' => 'varchar','precision' => '96','nullable' => False),
|
||||
'fs_size' => array('type' => 'int','precision' => '8','nullable' => False),
|
||||
'fs_creator' => array('type' => 'int','precision' => '4','nullable' => False),
|
||||
'fs_modifier' => array('type' => 'int','precision' => '4'),
|
||||
|
@ -45,3 +45,15 @@ function phpgwapi_upgrade1_7_001()
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.002';
|
||||
}
|
||||
|
||||
|
||||
function phpgwapi_upgrade1_7_002()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs','fs_mime',array(
|
||||
'type' => 'varchar',
|
||||
'precision' => '96',
|
||||
'nullable' => False
|
||||
));
|
||||
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.7.003';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user