You are here

function matching_update_6400 in Quiz 6.4

Implementation of hook_update_N().

Add index to improve performance

File

question_types/matching/matching.install, line 13
matching install file.

Code

function matching_update_6400() {
  $results = array();
  db_add_index($results, 'quiz_matching_node', 'question_id', array(
    'nid',
    'vid',
  ));
  return $results;
}