Discount codes not applicable on database upgrades