You are here

function system_update_1022 in Drupal 6

Same name and namespace in other branches
  1. 5 modules/system/system.install \system_update_1022()

Add index on users created column.

Related topics

File

modules/system/system.install, line 1192

Code

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;
}