You are here

function course_update_6125 in Course 6

Same name and namespace in other branches
  1. 7.2 course.install \course_update_6125()
  2. 7 course.install \course_update_6125()

Add indexes to course report table.

File

./course.install, line 530
course.install Install and update functions for Courses.

Code

function course_update_6125() {
  $ret = array();
  db_add_index($ret, 'course_report', 'nid', array(
    'nid',
  ));
  db_add_index($ret, 'course_report', 'uid', array(
    'uid',
  ));
  return $ret;
}