function course_update_7138 in Course 7.2
Same name and namespace in other branches
- 7 course.install \course_update_7138()
Add an index on "instance".
File
- ./
course.install, line 1198 - course.install Install and update functions for Courses.
Code
function course_update_7138() {
if (!db_index_exists('course_outline', 'instance')) {
db_add_index('course_outline', 'instance', array(
'instance',
));
}
return t('Added index on "instance" column.');
}