You are here

function search_api_update_7111 in Search API 7

Change the definition of the {search_api_item}.changed field.

File

./search_api.install, line 809
Install, update and uninstall functions for the Search API module.

Code

function search_api_update_7111() {
  $spec = array(
    'description' => 'Either a flag or a timestamp to indicate if or when the item was changed since it was last indexed.',
    'type' => 'int',
    'size' => 'big',
    'not null' => TRUE,
    'default' => 1,
  );
  db_change_field('search_api_item', 'changed', 'changed', $spec);
}