function system_update_7051

make the IP field IPv6 compatible

Related topics

File

modules/system/system.install, line 2534

Code

function system_update_7051() {
    db_change_field('blocked_ips', 'ip', 'ip', array(
        'description' => 'IP address',
        'type' => 'varchar',
        'length' => 40,
        'not null' => TRUE,
        'default' => '',
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.