You are here

function activity_update_6203 in Activity 7

Same name and namespace in other branches
  1. 6.2 activity.install \activity_update_6203()

Update {activity} table to have a status field @see: http://drupal.org/node/582230

File

./activity.install, line 245

Code

function activity_update_6203() {
  $ret = array();
  db_add_field($ret, 'activity', 'status', array(
    'description' => 'Whether or not this Activity is published',
    'type' => 'int',
    'size' => 'tiny',
    'default' => 1,
  ));
  return $ret;
}