summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 5b34152e6..32eb9eb1a 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -534,7 +534,7 @@ function system_schema() {
'ip' => array(
'description' => 'IP address',
'type' => 'varchar',
- 'length' => 32,
+ 'length' => 40,
'not null' => TRUE,
'default' => '',
),
@@ -2388,6 +2388,13 @@ function system_update_7050() {
}
/**
+ * 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.
*/