You are here

function cas_update_7102 in CAS 7

Add index on cas_user.uid

File

./cas.install, line 404
Installation hooks for the CAS module.

Code

function cas_update_7102() {
  if (!db_index_exists('cas_user', 'cas_user')) {
    db_add_index('cas_user', 'cas_user', array(
      'uid',
    ));
  }
}