You are here

function feeds_update_6015 in Feeds 6

Change batch field from text to blob.

File

./feeds.install, line 628
Schema definitions install/update/uninstall hooks.

Code

function feeds_update_6015() {
  $ret = array();
  $spec = array(
    'type' => 'blob',
    'size' => 'big',
    'not null' => FALSE,
    'description' => t('Cache for batching.'),
    'serialize' => TRUE,
  );
  db_change_field($ret, 'feeds_source', 'batch', 'batch', $spec);
  return $ret;
}