You are here

function activity_update_6201 in Activity 7

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

Update the Activity Messages.amid field to be not null. @see: http://drupal.org/node/778662

File

./activity.install, line 235

Code

function activity_update_6201() {
  $ret = array();
  db_change_field($ret, 'activity_messages', 'amid', 'amid', array(
    'type' => 'serial',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ));
  return $ret;
}