
-- Update the default free domain coupon_code to freedomaindefault
UPDATE `was_coupon`
SET `coupon_code` = 'freedomaindefault'
WHERE `coupon_id` = 31;

UPDATE `was_coupon_user`
SET `coupon_code` = 'freedomaindefault'
WHERE `coupon_id` = 31;

-- Delete the erroneous coupons
DELETE FROM `was_coupon_user`
WHERE `coupon_id` = 31 
AND `expire_timestamp` > 0;