Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
captcha-3301409
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
captcha-3301409
Commits
85e9179f
Commit
85e9179f
authored
7 years ago
by
Fabiano Sant'Ana
Browse files
Options
Downloads
Patches
Plain Diff
Increases the db column size
parent
1d2ae9b1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
captcha.install
+16
-1
16 additions, 1 deletion
captcha.install
with
16 additions
and
1 deletion
captcha.install
+
16
−
1
View file @
85e9179f
...
...
@@ -69,7 +69,7 @@ function captcha_schema() {
'sid'
=>
array
(
'description'
=>
"Session ID of the user."
,
'type'
=>
'varchar'
,
'length'
=>
64
,
'length'
=>
128
,
'not null'
=>
TRUE
,
'default'
=>
''
,
),
...
...
@@ -326,3 +326,18 @@ function captcha_update_7000() {
->
execute
();
}
}
/**
* Increase the Session Id field size.
*/
function
captcha_update_7001
()
{
$schema
=
captcha_schema
();
db_change_field
(
'captcha_sessions'
,
'sid'
,
'sid'
,
array
(
'description'
=>
"Session ID of the user."
,
'type'
=>
'varchar'
,
'length'
=>
128
,
'not null'
=>
TRUE
,
'default'
=>
''
,
));
}
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
register
or
sign in
to comment