function amazon_media_update_7003 in Amazon Product Advertisement API 7
Same name and namespace in other branches
- 7.2 amazon_media/amazon_media.install \amazon_media_update_7003()
Update the "edition" field to a varchar since it can be many things provided by amazon.
File
- amazon_media/
amazon_media.install, line 80 - Install, update and uninstall functions for the amazon_media module.
Code
function amazon_media_update_7003() {
db_change_field('amazon_book', 'edition', 'edition', array(
'type' => 'varchar',
'length' => 128,
));
return t("Changed amazon_book 'edition' to a varchar");
}