function system_update_7057
7.x system.install | system_update_7057() |
Increase the size of session-ids.
Related topics
File
- drupal-7.x/
modules/ system/ system.install, line 2560 - 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);
}