function system_update_7051 in Drupal 7
make the IP field IPv6 compatible
Related topics
File
- modules/
system/ system.install, line 2515 - Install, update and uninstall functions for the system module.
Code
function system_update_7051() {
db_change_field('blocked_ips', 'ip', 'ip', array(
'description' => 'IP address',
'type' => 'varchar',
'length' => 40,
'not null' => TRUE,
'default' => '',
));
}