You are here

function course_update_6128 in Course 6

Same name and namespace in other branches
  1. 7.2 course.install \course_update_6128()
  2. 7 course.install \course_update_6128()

Change open and close to integer.

File

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

Code

function course_update_6128() {
  $ret = array();
  db_change_field($ret, 'course_node', 'open', 'open', array(
    'type' => 'int',
    'unsigned' => TRUE,
  ));
  db_change_field($ret, 'course_node', 'close', 'close', array(
    'type' => 'int',
    'unsigned' => TRUE,
  ));
  return $ret;
}