You are here

function apachesolr_attachments_update_6002 in Apache Solr Attachments 6

Same name and namespace in other branches
  1. 6.2 apachesolr_attachments.install \apachesolr_attachments_update_6002()

Update body field to not null = FALSE

File

./apachesolr_attachments.install, line 141

Code

function apachesolr_attachments_update_6002() {
  $ret = array();
  db_change_field($ret, 'apachesolr_attachments_files', 'body', 'body', array(
    'description' => 'The cached body (extracted text) of the file (except for text files).',
    'type' => 'text',
    'not null' => FALSE,
    'size' => 'big',
  ));
  return $ret;
}