You are here

function activity_update_6101 in Activity 6

A new table activity_comments is added to store comments on Activity records.

File

./activity.install, line 181
Install file for activity module.

Code

function activity_update_6101() {

  // install the table, we can pull this right out of our existing schema
  $schema['activity_comments'] = drupal_get_schema_unprocessed('activity', 'activity_comments');
  $ret = array();
  db_create_table($ret, 'activity_comments', $schema['activity_comments']);
  return $ret;
}