You are here

function captcha_update_7001 in CAPTCHA 7

Increase the Session Id field size.

File

./captcha.install, line 333
Install, update and uninstall functions for the CAPTCHA module.

Code

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