-- Revert gaia:2019_08_29_add_market_table from mysql

BEGIN;

DROP TABLE `api_market_tag`;
DROP TABLE `api_market_personas`;
DROP TABLE `api_market_activity_user_profile`;

alter table `api_pushcouponuser` drop column `user_type`;
alter table `api_pushcoupon` drop column `market_id`;
alter table `api_pushtask2` drop column `market_id` text;

COMMIT;
