You are here

function amazon_update_6009 in Amazon Product Advertisement API 6

Change key on amazon_item_node (again).

It looks like nid should be the correct portion of the key, since there is no vid coming in. In fact... There should be no vid.

File

./amazon.install, line 271

Code

function amazon_update_6009() {
  $ret = array();
  db_drop_primary_key($ret, 'amazon_item_node');
  db_add_primary_key($ret, 'amazon_item_node', array(
    'nid',
    'asin',
    'module',
  ));
  return $ret;
}