diff --git a/api/setup/setup.inc.php b/api/setup/setup.inc.php index 94cbf0fa96..c3c058a68a 100644 --- a/api/setup/setup.inc.php +++ b/api/setup/setup.inc.php @@ -11,7 +11,7 @@ /* Basic information about this app */ $setup_info['api']['name'] = 'api'; $setup_info['api']['title'] = 'EGroupware API'; -$setup_info['api']['version'] = '23.1.010'; +$setup_info['api']['version'] = '23.1.011'; $setup_info['api']['versions']['current_header'] = '1.29'; // maintenance release in sync with changelog in doc/rpm-build/debian.changes $setup_info['api']['versions']['maintenance_release'] = '23.1.20241214'; @@ -141,3 +141,4 @@ $setup_info['groupdav']['author'] = $setup_info['groupdav']['maintainer'] = arra $setup_info['groupdav']['license'] = 'GPL'; $setup_info['groupdav']['hooks']['preferences'] = 'EGroupware\\Api\\CalDAV\\Hooks::menus'; $setup_info['groupdav']['hooks']['settings'] = 'EGroupware\\Api\\CalDAV\\Hooks::settings'; + diff --git a/api/setup/tables_current.inc.php b/api/setup/tables_current.inc.php index c5098ad645..c2501241f6 100644 --- a/api/setup/tables_current.inc.php +++ b/api/setup/tables_current.inc.php @@ -327,7 +327,7 @@ $phpgw_baseline = array( 'fs_modifier' => array('type' => 'int','meta' => 'user','precision' => '4'), 'fs_active' => array('type' => 'bool','nullable' => False,'default' => 't'), 'fs_content' => array('type' => 'blob'), - 'fs_link' => array('type' => 'varchar','precision' => '255'), + 'fs_link' => array('type' => 'varchar','precision' => '1024'), 'fs_s3_flags' => array('type' => 'int','precision' => '1','default' => '0'), 'fs_aes_key' => array('type' => 'binary','precision' => '32') ), diff --git a/api/setup/tables_update.inc.php b/api/setup/tables_update.inc.php index 083997ba4f..08684d8a7d 100644 --- a/api/setup/tables_update.inc.php +++ b/api/setup/tables_update.inc.php @@ -1022,4 +1022,14 @@ function api_upgrade23_1_009() )); return $GLOBALS['setup_info']['api']['currentver'] = '23.1.010'; +} + +function api_upgrade23_1_010() +{ + $GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs','fs_link',array( + 'type' => 'varchar', + 'precision' => '1024' + )); + + return $GLOBALS['setup_info']['api']['currentver'] = '23.1.011'; } \ No newline at end of file