-- Revert gaia:api_20171221_use_two_coupon from mysql

BEGIN;

ALTER TABLE `api_settlement` DROP COLUMN `coupon_info_ids_data`;

ALTER TABLE `api_coupon` DROP COLUMN `threshold_validation_type`;

DROP TABLE IF EXISTS `api_ordercouponinfo`;

COMMIT;
