function system_update_8051

Add route_name column to the menu_links table.

Related topics

File

drupal/core/modules/system/system.install, line 2069
Install, update and uninstall functions for the system module.

Code

function system_update_8051() {
  $spec = array(
    'description' => 'The machine name of a defined Symfony Route this menu item represents.',
    'type' => 'varchar',
    'length' => 255,
  );
  db_add_field('menu_links', 'route_name', $spec);
}