-- Revert gaia:api_2016_11_22_create_table_locklist_servicelock from mysql

BEGIN;

DROP TABLE `api_servicelock`;
DROP TABLE `api_locklist`;
DROP TABLE `api_doctorseckillapplyrecord`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `status`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `created_time`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `available_num`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `pre_payment_price`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `commission`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `pass_time`;
ALTER TABLE `api_doctorseckillapply` DROP COLUMN `latest_apply_time`;

COMMIT;
