Commit 85e9179f authored by wundo's avatar wundo

Increases the db column size

parent 1d2ae9b1
......@@ -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' => '',
));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment