You are here

function feeds_update_7206 in Feeds 8.2

Same name and namespace in other branches
  1. 7.2 feeds.install \feeds_update_7206()

Change state and fetcher_result fields from text to blob.

File

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

Code

function feeds_update_7206() {
  db_change_field('feeds_source', 'state', 'state', array(
    'type' => 'blob',
    'size' => 'big',
    'not null' => FALSE,
    'description' => 'State of import or clearing batches.',
    'serialize' => TRUE,
  ));
  db_change_field('feeds_source', 'fetcher_result', 'fetcher_result', array(
    'type' => 'blob',
    'size' => 'big',
    'not null' => FALSE,
    'description' => 'Cache for fetcher result.',
    'serialize' => TRUE,
  ));
}