You are here

function password_policy_update_6006 in Password Policy 6

Add unique key on password_policy_role for exportables (rid,name)

File

./password_policy.install, line 310
File module installation and upgrade code.

Code

function password_policy_update_6006() {
  $ret = array();

  // could drop past primary key, and add new primary key but this
  // works for now leaving old primary in place
  db_add_unique_key($ret, 'password_policy_role', 'name', array(
    'rid',
    'name',
  ));
  return $ret;
}