diff options
author | David Rothstein <drothstein@gmail.com> | 2013-12-25 21:40:09 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-12-25 21:40:09 -0500 |
commit | cc200167b4c2113f027d1da3d16c1fa97619991e (patch) | |
tree | 769b86ac380cd14e9f0c04227e3b51f48cfd2583 /modules/node | |
parent | a5a14f9621af2db6fd2ab7a79cd6115ca2eb05c4 (diff) | |
download | brdo-cc200167b4c2113f027d1da3d16c1fa97619991e.tar.gz brdo-cc200167b4c2113f027d1da3d16c1fa97619991e.tar.bz2 |
Issue #813634 by jlscott, cafuego, Nitesh Sethia, claudinec, brianV: Node.language column should have an index.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/node/node.install b/modules/node/node.install index 43bfd531f..76c2aec28 100644 --- a/modules/node/node.install +++ b/modules/node/node.install @@ -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'), @@ -926,5 +927,12 @@ function node_update_7013() { } /** + * Add an index on {node}.language. + */ +function node_update_7014() { + db_add_index('node', 'language', array('language')); +} + +/** * @} End of "addtogroup updates-7.x-extra". */ |