You are here

function system_update_7057 in Drupal 7

Increase the size of session-ids.

Related topics

File

modules/system/system.install, line 2670
Install, update and uninstall functions for the system module.

Code

function system_update_7057() {
  $spec = array(
    'description' => "A session ID. The value is generated by PHP's Session API.",
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
  );
  db_change_field('sessions', 'sid', 'sid', $spec);
}