You are here

function uc_coupon_update_6005 in Ubercart Discount Coupons 6

File

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

Code

function uc_coupon_update_6005() {
  $ret = array();
  $field = array(
    'type' => 'varchar',
    'length' => 100,
    'not null' => TRUE,
    'default' => '',
  );
  db_change_field($ret, 'uc_coupons', 'code', 'code', $field);
  db_change_field($ret, 'uc_coupons_orders', 'code', 'code', $field);
  return $ret;
}