You are here

function privatemsg_update_6203 in Privatemsg 6.2

Add primary key to {pm_index}.

File

./privatemsg.install, line 653
Install file for privatemsg.module

Code

function privatemsg_update_6203() {
  $ret = array();
  if (!privatemsg_db_index_exists('pm_index', 'PRIMARY')) {
    db_add_primary_key($ret, 'pm_index', array(
      'mid',
      'recipient',
      'type',
    ));
  }
  return $ret;
}