You are here

function apachesolr_stats_update_6000 in Apache Solr Statistics 6.3

Implements hook_update_N().

File

./apachesolr_stats.install, line 152
Install, update and uninstall functions for the apachesolr_stats module.

Code

function apachesolr_stats_update_6000() {
  $ret = array();
  $default_environment = apachesolr_default_environment();
  db_add_field($ret, 'apachesolr_stats', 'env_id', array(
    'type' => 'varchar',
    'length' => 64,
    'not null' => TRUE,
    'default' => $default_environment,
  ));
  return $ret;
}