You are here

function quiz_update_7525 in Quiz 7.5

Add index to qnr_pid.

File

./quiz.install, line 1363
Quiz install schema for installing the quiz module.

Code

function quiz_update_7525() {
  if (!db_index_exists('quiz_node_relationship', 'qnr_pid')) {
    db_add_index('quiz_node_relationship', 'qnr_pid', array(
      'qnr_pid',
    ));
  }
}