Commit 85e9179f authored by wundo's avatar wundo

Increases the db column size

parent 1d2ae9b1
...@@ -69,7 +69,7 @@ function captcha_schema() { ...@@ -69,7 +69,7 @@ function captcha_schema() {
'sid' => array( 'sid' => array(
'description' => "Session ID of the user.", 'description' => "Session ID of the user.",
'type' => 'varchar', 'type' => 'varchar',
'length' => 64, 'length' => 128,
'not null' => TRUE, 'not null' => TRUE,
'default' => '', 'default' => '',
), ),
...@@ -326,3 +326,18 @@ function captcha_update_7000() { ...@@ -326,3 +326,18 @@ function captcha_update_7000() {
->execute(); ->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