You are here

function amazon_update_6010 in Amazon Product Advertisement API 6

Change key on editorial reviews, since it shouldn't be primary.

File

./amazon.install, line 282

Code

function amazon_update_6010() {
  $ret = array();
  db_drop_primary_key($ret, 'amazon_item_editorial_review');
  db_add_index($ret, 'amazon_item_editorial_review', 'amazon_item_editorial_review', array(
    'asin',
  ));
  return $ret;
}