-- Revert gaia:api_2018_07_06_bd_transfer from mysql

BEGIN;

DROP TABLE IF EXISTS `api_bdtransfer_operationrecord`;
DROP TABLE IF EXISTS `api_bdtransfer_willing_project`;
DROP TABLE IF EXISTS `api_bdtransfer_history_project`;
DROP TABLE IF EXISTS `api_bdtransfer_communicationrecord`;
DROP TABLE IF EXISTS `api_bdtransfer_singlerecord_project`;

DROP TABLE IF EXISTS `api_bdtransfer_clue_tags`;
DROP TABLE IF EXISTS `api_bdtransfer_cluetag`;
DROP TABLE IF EXISTS `api_bdtransfer_willing_cities`;
DROP TABLE IF EXISTS `api_bdtransfer_singlerecord`;
DROP TABLE IF EXISTS `api_bdtransfer`;

ALTER TABLE `api_budan` DROP COLUMN `budan_type`;

COMMIT;
