- Patch #475140 by anarcat: make sure Drupal provides support for IPv6.
parent
adb7506a58
commit
224243b817
|
@ -534,7 +534,7 @@ function system_schema() {
|
|||
'ip' => array(
|
||||
'description' => 'IP address',
|
||||
'type' => 'varchar',
|
||||
'length' => 32,
|
||||
'length' => 40,
|
||||
'not null' => TRUE,
|
||||
'default' => '',
|
||||
),
|
||||
|
@ -2387,6 +2387,13 @@ function system_update_7050() {
|
|||
db_change_field('batch', 'bid', 'bid', array('description' => 'Primary Key: Unique batch ID.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE));
|
||||
}
|
||||
|
||||
/**
|
||||
* make the IP field IPv6 compatible
|
||||
*/
|
||||
function system_update_7051() {
|
||||
db_change_field('blocked_ips', 'ip', 'ip', array('description' => 'IP address', 'type' => 'varchar', 'length' => 40, 'not null' => TRUE, 'default' => ''));
|
||||
}
|
||||
|
||||
/**
|
||||
* @} End of "defgroup updates-6.x-to-7.x"
|
||||
* The next series of updates should start at 8000.
|
||||
|
|
Loading…
Reference in New Issue