function system_update_7057

Increase the size of session-ids.

Related topics

File

modules/system/system.install, line 2689

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.