You are here

function course_update_7002 in Course 7.2

Same name and namespace in other branches
  1. 7 course.install \course_update_7002()

Change grade_result field to NULL to allow for empty grades.

File

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

Code

function course_update_7002() {
  db_change_field('course_outline_fulfillment', 'grade_result', 'grade_result', array(
    'type' => 'int',
    'not null' => FALSE,
    'unsigned' => TRUE,
    'description' => 'Course grade received.',
  ));
  return t('Changed grade_result field to NULL to allow for empty grades.');
}