function node_update_7014

7.x node.install node_update_7014()

Add an index on {node}.language.

Related topics

File

drupal-7.x/modules/node/node.install, line 932
Install, update and uninstall functions for the node module.

Code

function node_update_7014() {
  db_add_index('node', 'language', array('language'));
}