function statistics_update_7000

Update the {accesslog}.sid column to match the length of {sessions}.sid

Related topics

File

modules/statistics/statistics.install, line 147

Code

function statistics_update_7000() {
    db_change_field('accesslog', 'sid', 'sid', array(
        'type' => 'varchar',
        'length' => 128,
        'not null' => TRUE,
        'default' => '',
        'description' => 'Browser session ID of user that visited page.',
    ));
}

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