You are here

function amazon_media_update_6002 in Amazon Product Advertisement API 6

Add the isbn and ean fields to a book item.

File

amazon_media/amazon_media.install, line 79

Code

function amazon_media_update_6002() {
  $ret = array();
  db_add_field($ret, 'amazon_book', 'isbn', array(
    'type' => 'varchar',
    'length' => 20,
  ));
  db_add_field($ret, 'amazon_book', 'ean', array(
    'type' => 'varchar',
    'length' => 20,
  ));
  return $ret;
}