-- Deploy gaia:api_2016_11_25_add_doctor_seckill_apply_to_service_snapshot to mysql

BEGIN;
ALTER TABLE `pay_servicesnapshot` ADD COLUMN `doctor_seckill_apply_id` INTEGER;

ALTER TABLE `pay_servicesnapshot` ADD CONSTRAINT `doctor_seckill_apply_id_refs_id_e78976dc` FOREIGN KEY (`doctor_seckill_apply_id`) REFERENCES `api_doctorseckillapply` (`id`);

COMMIT;
