diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index 4f43bc305e..1c697d5332 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -12,7 +12,7 @@ /* Basic information about this app */ $setup_info['phpgwapi']['name'] = 'phpgwapi'; $setup_info['phpgwapi']['title'] = 'EGroupware API'; -$setup_info['phpgwapi']['version'] = '14.3.001'; +$setup_info['phpgwapi']['version'] = '14.3.002'; $setup_info['phpgwapi']['versions']['current_header'] = '1.29'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 3c5b984f34..c2c611c9cf 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -795,3 +795,17 @@ function phpgwapi_upgrade14_3() return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.001'; } +/** + * Change egw_sqlfs_props.prop_value back to varchar, as it contains user-data eg. comment, which can be non-ascii + * + * @return string + */ +function phpgwapi_upgrade14_3_001() +{ + $GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs_props','prop_value',array( + 'type' => 'varchar', + 'precision' => '16384' + )); + + return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.002'; +}