function search_api_update_7112 in Search API 7
Changes the size of the {search_api_index}.options and {search_api_server}.options fields to "medium".
File
- ./
search_api.install, line 823 - Install, update and uninstall functions for the Search API module.
Code
function search_api_update_7112() {
$spec = array(
'description' => 'The options used to configure the service object.',
'type' => 'text',
'size' => 'medium',
'serialize' => TRUE,
'not null' => TRUE,
);
db_change_field('search_api_server', 'options', 'options', $spec);
$spec = array(
'description' => 'An array of additional arguments configuring this index.',
'type' => 'text',
'size' => 'medium',
'serialize' => TRUE,
'not null' => TRUE,
);
db_change_field('search_api_index', 'options', 'options', $spec);
}