You are here

function feeds_tamper_update_7002 in Feeds Tamper 7

Add description field to feeds_tamper table.

File

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

Code

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