function system_update_7051

7.x system.install system_update_7051()

make the IP field IPv6 compatible

Related topics

File

drupal-7.x/modules/system/system.install, line 2405
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' => ''));
}