You are here

function feeds_tamper_update_6004 in Feeds Tamper 6

Verify that description length is 255.

See #1182204.

File

./feeds_tamper.install, line 151
Schema definitions install/update/uninstall hooks.

Code

function feeds_tamper_update_6004(&$sandbox) {
  $spec = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Description of this plugin.',
  );
  $ret = array();
  db_change_field($ret, 'feeds_tamper', 'description', 'description', $spec);
  return $ret;
}