You are here

function course_update_7002 in Course 7

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

Change grade_result field to NULL to allow for empty grades.

File

./course.install, line 985
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.');
}