function course_update_7133 in Course 7
Same name and namespace in other branches
- 7.2 course.install \course_update_7133()
Add a serialized data field on enrollments.
File
- ./
course.install, line 1116 - course.install Install and update functions for Courses.
Code
function course_update_7133() {
db_add_field('course_enrollment', 'data', array(
'serialize' => TRUE,
'type' => 'text',
'description' => 'Extra serialized enrollment data.',
'size' => 'medium',
));
return t('Added data field on enrollments.');
}