function user_stats_update_7102 in User Stats 7
Expands the width of the field table to 40.
File
- ./
user_stats.install, line 95 - Install and update hooks for the User Stats module.
Code
function user_stats_update_7102(&$sandbox) {
$ip_address = array(
'type' => 'varchar',
'length' => 40,
'not null' => TRUE,
'default' => '',
'description' => "The user's IP address.",
);
db_change_field('user_stats_ips', 'ip_address', 'ip_address', $ip_address);
}