function linkchecker_update_6216 in Link checker 6.2
#965720: Add indexes to improve performance of views queries.
File
- ./
linkchecker.install, line 609 - Installation file for Link Checker module.
Code
function linkchecker_update_6216() {
$ret = array();
db_add_index($ret, 'linkchecker_links', 'method', array(
'method',
));
db_add_index($ret, 'linkchecker_links', 'code', array(
'code',
));
db_add_index($ret, 'linkchecker_links', 'fail_count', array(
'fail_count',
));
db_add_index($ret, 'linkchecker_links', 'last_checked', array(
'last_checked',
));
db_add_index($ret, 'linkchecker_links', 'status', array(
'status',
));
return $ret;
}