function statistics_update_7000
7.x statistics.install | statistics_update_7000() |
Update the {accesslog}.sid column to match the length of {sessions}.sid
Related topics
File
- drupal-7.x/
modules/ statistics/ statistics.install, line 147 - Install, update, and uninstall functions for the Statistics module.
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.',
));
}