You are here

function feeds_tamper_update_7003 in Feeds Tamper 7

Add index on importer.

File

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

Code

function feeds_tamper_update_7003(&$sandbox) {
  if (db_index_exists('feeds_tamper', 'importer')) {
    return;
  }
  db_add_index('feeds_tamper', 'importer', array(
    'importer',
  ));
}