summaryrefslogtreecommitdiff
path: root/includes/update.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/update.inc')
-rw-r--r--includes/update.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/update.inc b/includes/update.inc
index 84d92917a..96ae71e66 100644
--- a/includes/update.inc
+++ b/includes/update.inc
@@ -140,6 +140,8 @@ function update_fix_d7_requirements() {
'not null' => TRUE,
'default' => 0,
));
+ db_drop_index('menu_router', 'tab_parent');
+ db_add_index('menu_router', 'tab_parent', array(array('tab_parent', 64), 'weight', 'title'));
db_add_field('menu_router', 'theme_callback', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));
db_add_field('menu_router', 'theme_arguments', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));