used coupons are no longer deletable nor renamable
authorTony Cook <tony@develop-help.com>
Tue, 2 Jul 2013 11:29:11 +0000 (21:29 +1000)
committerTony Cook <tony@develop-help.com>
Sun, 21 Jul 2013 23:34:16 +0000 (09:34 +1000)
commit2ced88e05c633d201f98d458dfe6ad410907b7f2
tree9aebb5d538c1b7af2cf98ca02f4504d044adeb6f
parent1bd8ed92eff1ffc523fffda9a1b21e6a41a26cd6
used coupons are no longer deletable nor renamable

This makes incompatible changes to the orders table you need to run:

alter table orders drop coupon_code, drop coupon_code_discount_pc;

before updating the database
16 files changed:
schema/bse.sql
site/cgi-bin/bse.cfg
site/cgi-bin/modules/BSE/Cart.pm
site/cgi-bin/modules/BSE/Request/Base.pm
site/cgi-bin/modules/BSE/TB/Coupon.pm
site/cgi-bin/modules/BSE/TB/Order.pm
site/cgi-bin/modules/BSE/UI/AdminShop.pm
site/cgi-bin/modules/BSE/UI/Shop.pm
site/cgi-bin/modules/Squirrel/Table.pm
site/data/db/bse_msg_base.data
site/data/db/bse_msg_defaults.data
site/templates/admin/coupons/list.tmpl
site/templates/admin/order_detail.tmpl
site/templates/checkoutfinal_base.tmpl
site/templates/preload.tmpl
site/util/mysql.str