You are here

function activity_update_6201 in Activity 6.2

Same name and namespace in other branches
  1. 7 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 224

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