system_update_1022

Versions
5 – 6
system_update_1022()

Add index on users created column.

Related topics

Code

modules/system/system.install, line 1124

<?php
function system_update_1022() {
  $ret = array();
  db_add_index($ret, 'users', 'created', array('created'));
  // Also appears as system_update_6004(). Ensure we don't update twice.
  variable_set('system_update_1022', TRUE);
  return $ret;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.