You are here

function uc_coupon_update_6004 in Ubercart Discount Coupons 6

File

./uc_coupon.install, line 234
Ubercart uc_coupon.module schema

Code

function uc_coupon_update_6004() {
  $ret = array();
  db_change_field($ret, 'uc_coupons', 'value', 'value', array(
    'type' => 'numeric',
    'precision' => 10,
    'scale' => 2,
    'not null' => TRUE,
    'default' => 0,
  ));
  db_change_field($ret, 'uc_coupons', 'minimum_order', 'minimum_order', array(
    'type' => 'numeric',
    'precision' => 10,
    'scale' => 2,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}