function statistics_advanced_update_6000 in Statistics Advanced 6
Split the index in {accesslog}.
File
- ./
statistics_advanced.install, line 42 - Install and uninstall schema and functions for the statistics_advanced module.
Code
function statistics_advanced_update_6000() {
$ret = array();
db_drop_index($ret, 'accesslog', 'accesslog_sid_uid_path');
db_add_index($ret, 'accesslog', 'accesslog_path_sid', array(
'path',
'sid',
));
db_add_index($ret, 'accesslog', 'accesslog_uid_sid', array(
'uid',
'sid',
));
return $ret;
}