You are here

function heartbeat_update_7013 in Heartbeat 7

Add a real_class field so clones can get their original class.

File

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

Code

function heartbeat_update_7013() {
  if (!db_field_exists('heartbeat_streams', 'real_class')) {
    db_add_field('heartbeat_streams', 'real_class', array(
      'type' => 'varchar',
      'length' => 100,
      'not null' => TRUE,
      'default' => '',
      'description' => t('Real Class of the stream to load.'),
    ));
  }
}