function statspro_update_6200 in Statistics Pro 6.2
Includes new fields in the statspro table: emergency, uemergency, alert, ualert, critical, ucritical.
File
- ./
statspro.install, line 343 - Install file for statistics pro module
Code
function statspro_update_6200() {
$ret = array();
$table = 'statspro';
$spec = array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'disp-width' => '10',
);
db_add_field($ret, $table, 'emergency', $spec);
db_add_field($ret, $table, 'uemergency', $spec);
db_add_field($ret, $table, 'alert', $spec);
db_add_field($ret, $table, 'ualert', $spec);
db_add_field($ret, $table, 'critical', $spec);
db_add_field($ret, $table, 'ucritical', $spec);
return $ret;
}