Commit 18ae2e67 authored by webchick's avatar webchick

#371458 by Damien Tournoud, Gerhard Killesreiter, and smk-ka: Add a missing...

#371458 by Damien Tournoud, Gerhard Killesreiter, and smk-ka: Add a missing index on menu_router tab_root.
parent 40c763f5
......@@ -933,6 +933,7 @@ function system_schema() {
'indexes' => array(
'fit' => array('fit'),
'tab_parent' => array('tab_parent'),
'tab_root_weight_title' => array(array('tab_root', 64), 'weight', 'title'),
),
'primary key' => array('path'),
);
......@@ -2223,6 +2224,15 @@ function system_update_7030() {
return $ret;
}
/**
* Add a missing index on the {menu_router} table.
*/
function system_update_7031() {
$ret = array();
db_add_index($ret, 'menu_router', 'tab_root_weight_title', array(array('tab_root', 64), 'weight', 'title'));
return $ret;
}
/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment