function amazon_update_6005 in Amazon Product Advertisement API 6
File
- ./
amazon.install, line 213
Code
function amazon_update_6005() {
$ret = array();
db_change_field($ret, 'amazon_item', 'detailpageurl', 'detailpageurl', array(
'type' => 'text',
));
db_change_field($ret, 'amazon_item', 'brand', 'brand', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'publisher', 'publisher', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'manufacturer', 'manufacturer', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'studio', 'studio', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'label', 'label', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'binding', 'binding', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'releasedate', 'releasedate', array(
'type' => 'varchar',
'length' => 64,
));
db_change_field($ret, 'amazon_item', 'productgroup', 'productgroup', array(
'type' => 'varchar',
'length' => 255,
));
db_change_field($ret, 'amazon_item', 'producttypename', 'producttypename', array(
'type' => 'varchar',
'length' => 255,
));
return $ret;
}