diff --git a/core/modules/menu_link/menu_link.install b/core/modules/menu_link/menu_link.install index 04f0d80..a09be43 100644 --- a/core/modules/menu_link/menu_link.install +++ b/core/modules/menu_link/menu_link.install @@ -214,17 +214,3 @@ function menu_link_schema() { return $schema; } - -/** - * Convert the 'module' column in {menu_links} to the maximum shortname length. - */ -function menu_link_update_8000() { - $spec = array( - 'description' => 'The name of the module that generated this link.', - 'type' => 'varchar', - 'length' => '40', - 'not null' => TRUE, - 'default' => 'system', - ); - db_change_field('menu_links', 'module', 'module', $spec); -} diff --git a/core/modules/system/system.install b/core/modules/system/system.install index e23bf8e..e42eb63 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -1980,6 +1980,16 @@ function system_update_8048() { ), ); db_add_field('menu_links', 'uuid', $column, $keys); + + // Change the length of the 'module' column to 40. + $spec = array( + 'description' => 'The name of the module that generated this link.', + 'type' => 'varchar', + 'length' => '40', + 'not null' => TRUE, + 'default' => 'system', + ); + db_change_field('menu_links', 'module', 'module', $spec); } /**