Issue #813634 by jlscott, cafuego, Nitesh Sethia, claudinec, brianV: Node.language column should have an index.

merge-requests/26/head
David Rothstein 2013-12-25 21:40:09 -05:00
parent a5a14f9621
commit cc200167b4
1 changed files with 8 additions and 0 deletions

View File

@ -114,6 +114,7 @@ function node_schema() {
'uid' => array('uid'),
'tnid' => array('tnid'),
'translate' => array('translate'),
'language' => array('language'),
),
'unique keys' => array(
'vid' => array('vid'),
@ -925,6 +926,13 @@ function node_update_7013() {
db_add_unique_key('node', 'vid', array('vid'));
}
/**
* Add an index on {node}.language.
*/
function node_update_7014() {
db_add_index('node', 'language', array('language'));
}
/**
* @} End of "addtogroup updates-7.x-extra".
*/