You are here

function heartbeat_plugins_update_7003 in Heartbeat 7

Add in_group, language, timestamp index to {heartbeat_activity}.

File

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

Code

function heartbeat_plugins_update_7003() {
  if (module_exists('og')) {
    db_add_index('heartbeat_activity', 'group_language_timestamp', array(
      'in_group',
      'language',
      'timestamp',
    ));
  }
}