You are here

function persistent_login_update_6001 in Persistent Login 6

Add new index by uid, expires to Persistent Login table.

File

./persistent_login.install, line 155
Implementation of installation/uninstallation hooks.

Code

function persistent_login_update_6001() {
  $ret = array();
  db_add_index($ret, 'persistent_login', 'uid_expires', array(
    'uid',
    'expires',
  ));
  return $ret;
}