You are here

function heartbeat_update_401 in Heartbeat 6.4

Update to version 4.3

Return value

sql statements array

File

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

Code

function heartbeat_update_401() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {heartbeat_activity} ADD nid INT NOT NULL DEFAULT '0' AFTER uid_target");
      break;
  }
  return $ret;
}