You are here

function activity_update_6203 in Activity 6.2

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

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

File

./activity.install, line 253

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;
}