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