You are here

function course_update_7131 in Course 7

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

Add a coid column to the course report table.

File

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

Code

function course_update_7131() {
  db_add_field('course_report', 'coid', array(
    'type' => 'int',
    'not null' => FALSE,
    'unsigned' => TRUE,
    'default' => 0,
    'description' => 'Identifier for the course object.',
  ));
  return t('Added coid field to course_report table.');
}