-- Revert gaia:2017_05_27_shopcart from mysql

BEGIN;

ALTER TABLE `api_shopcart` DROP FOREIGN KEY `service_item_id_refs_id_033042a3`, DROP INDEX `uniq_shopcart_person_and_service_item_id`, DROP COLUMN `service_item_id`;
ALTER TABLE `api_shopcart` DROP COLUMN `number`;
ALTER TABLE `api_shopcart` DROP COLUMN `update_time`;

COMMIT;
