You are here

function feeds_tamper_update_6003 in Feeds Tamper 6

Add index on importer.

File

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

Code

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