function search_api_update_7108 in Search API 7
Add "read only" property to Search API index entities.
File
- ./search_api.install, line 759 
- Install, update and uninstall functions for the Search API module.
Code
function search_api_update_7108() {
  $db_field = array(
    'description' => 'A flag indicating whether to write to this index.',
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field('search_api_index', 'read_only', $db_field);
  return t('Added a "read only" property to index entities.');
}