You are here

function heartbeat_update_7011 in Heartbeat 7

Adding a field to hold comments for activity.

File

./heartbeat.install, line 382
Installation file for the heartbeat module. @author Jochen Stals - Menhir - www.menhir.be

Code

function heartbeat_update_7011() {
  if (!db_field_exists('heartbeat_activity', 'uaid_comments')) {
    db_add_field('heartbeat_activity', 'uaid_comments', array(
      'type' => 'int',
      'not null' => FALSE,
      'default' => '0',
      'description' => 'The comment count for a heartbeat message.',
    ));
  }
}