You are here

function uc_coupon_update_5 in Ubercart Discount Coupons 5

File

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

Code

function uc_coupon_update_5() {
  $ret[] = update_sql("ALTER TABLE {uc_coupons} ADD COLUMN valid_from int(11) AFTER status");
  $ret[] = update_sql("UPDATE {uc_coupons} SET valid_from = 0");
  return $ret;
}