function uc_discounts_update_6006 in Ubercart Discounts (Alternative) 6.2
Same name and namespace in other branches
- 7.2 uc_discounts/uc_discounts.install \uc_discounts_update_6006()
#1220388, Optionally allow free items to be automatically added to cart.
File
- uc_discounts/
uc_discounts.install, line 692 - Install hooks for uc_discounts.module.
Code
function uc_discounts_update_6006() {
$schema = uc_discounts_schema();
$ret = array();
db_add_field($ret, 'uc_discounts', 'add_to_cart', $schema['uc_discounts']['fields']['add_to_cart']);
return $ret;
}