Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
224243b8
Commit
224243b8
authored
Mar 18, 2010
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#475140
by anarcat: make sure Drupal provides support for IPv6.
parent
adb7506a
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/system/system.install
+8
-1
8 additions, 1 deletion
modules/system/system.install
with
8 additions
and
1 deletion
modules/system/system.install
+
8
−
1
View file @
224243b8
...
@@ -534,7 +534,7 @@ function system_schema() {
...
@@ -534,7 +534,7 @@ function system_schema() {
'ip'
=>
array
(
'ip'
=>
array
(
'description'
=>
'IP address'
,
'description'
=>
'IP address'
,
'type'
=>
'varchar'
,
'type'
=>
'varchar'
,
'length'
=>
32
,
'length'
=>
40
,
'not null'
=>
TRUE
,
'not null'
=>
TRUE
,
'default'
=>
''
,
'default'
=>
''
,
),
),
...
@@ -2387,6 +2387,13 @@ function system_update_7050() {
...
@@ -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
));
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"
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
* The next series of updates should start at 8000.
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment