You are here

function anonymous_publishing_update_7005 in Anonymous Publishing 7

Allocate 40 chars to 'ip' {anonymous_publishing} for IPv6.

File

./anonymous_publishing.install, line 468
Install and uninstall hooks.

Code

function anonymous_publishing_update_7005() {
  $ip = array(
    'description' => 'IP-address used to post contents.',
    'type' => 'varchar',
    'length' => 40,
    'not null' => TRUE,
    'default' => '',
  );
  db_change_field('anonymous_publishing', 'ip', 'ip', $ip);
}