You are here

function feeds_tamper_update_7004 in Feeds Tamper 7

Verify that description length is 255.

See #1182204.

File

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

Code

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