|
@@ -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' => '',
|
|
|
+ ));
|
|
|
+}
|