-- Revert gaia:bdtransfer_2020_05_28_add_bdtransfer_visit_record from mysql

BEGIN;

-- XXX Add DDLs here.
drop table api_bdtransfer_visitrecord;

ALTER TABLE `api_bdtransfer_communicationrecord` drop constraint api_bdtransfer_communicationrecord_ibfk_1;
ALTER TABLE `api_bdtransfer_communicationrecord` drop column `visit_record_id`;

COMMIT;
