Skip to content
Snippets Groups Projects
Commit 85e9179f authored by Fabiano Sant'Ana's avatar Fabiano Sant'Ana
Browse files

Increases the db column size

parent 1d2ae9b1
No related branches found
No related tags found
No related merge requests found
......@@ -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' => '',
));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment