You are here

function feeds_tamper_update_6001 in Feeds Tamper 6

Add weight field to feeds_tamper table.

File

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

Code

function feeds_tamper_update_6001(&$sandbox) {
  $ret = array();
  $spec = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'unsigned' => TRUE,
    'description' => 'The weight of a plugin instance. Plugins are executed in order.',
  );
  db_add_field($ret, 'feeds_tamper', 'weight', $spec);
  return $ret;
}