You are here

function session_api_update_7102 in Session API 7

Implements hook_update_N().

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

File

./session_api.install, line 69
Install file for Session API.

Code

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