You are here

function captcha_update_6202 in CAPTCHA 7

Same name and namespace in other branches
  1. 6.2 captcha.install \captcha_update_6202()

Implements of hook_update_N().

Add a CAPTCHA token column to captcha_sessions table.

File

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

Code

function captcha_update_6202() {
  $ret = array();
  db_add_column($ret, 'captcha_sessions', 'token', 'varchar(64)');
  return $ret;
}