You are here

function search_api_saved_searches_update_7106 in Search API Saved Searches 7

Increase the maximum length of the {search_api_saved_search}.name field.

File

./search_api_saved_searches.install, line 252
Install, update and uninstall functions for the Search API saved searches module.

Code

function search_api_saved_searches_update_7106() {
  $spec = array(
    'description' => 'The displayed name for this saved search.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
  );
  db_change_field('search_api_saved_search', 'name', 'name', $spec);
}