You are here

function session_api_update_6101 in Session API 6

Implements hook_update_N().

Lengthens the session_id field to match core {sessions}.sid field.

File

./session_api.install, line 60

Code

function session_api_update_6101() {
  db_change_field($ret, 'session_api', 'session_id', 'session_id', array(
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
  ));
  return $ret;
}