You are here

function feeds_update_7207 in Feeds 8.2

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

Change config fields from text to big blobs.

File

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

Code

function feeds_update_7207() {
  db_change_field('feeds_importer', 'config', 'config', array(
    'type' => 'blob',
    'size' => 'big',
    'not null' => FALSE,
    'description' => 'Configuration of the feeds object.',
    'serialize' => TRUE,
  ));
  db_change_field('feeds_source', 'config', 'config', array(
    'type' => 'blob',
    'size' => 'big',
    'not null' => FALSE,
    'description' => 'Configuration of the feeds object.',
    'serialize' => TRUE,
  ));
}