You are here

function amazon_update_7100 in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 amazon.install \amazon_update_7100()

Fix messed up type for currency code in update 6012.

File

./amazon.install, line 131
Install, update and uninstall functions for the amazon module.

Code

function amazon_update_7100() {
  db_change_field('amazon_item', 'lowestpricecurrencycode', 'lowestpricecurrencycode', array(
    'type' => 'varchar',
    'length' => 32,
  ));
  db_change_field('amazon_item', 'amazonpricecurrencycode', 'amazonpricecurrencycode', array(
    'type' => 'varchar',
    'length' => 32,
  ));
  return t("Updated currency code column types");
}