You are here

function heartbeat_plugins_update_7001 in Heartbeat 7

Implements hook_update_N().

File

modules/heartbeat_plugins/heartbeat_plugins.install, line 76
Install file.

Code

function heartbeat_plugins_update_7001() {
  if (!db_field_exists('heartbeat_plugins', 'module')) {
    db_add_field('heartbeat_plugins', 'module', array(
      'description' => 'The module for the heartbeat plugin.',
      'type' => 'varchar',
      'length' => 64,
      'not null' => TRUE,
      'default' => '',
    ));
  }
}