-- Deploy gaia:2017_08_21_alter_api_slide to mysql

BEGIN;

ALTER TABLE `api_slide` DROP FOREIGN KEY `fk_answer_id`;
ALTER TABLE `api_slide` MODIFY `answer_id` INT;
ALTER TABLE `api_slide` DROP FOREIGN KEY `fk_question_id`;
ALTER TABLE `api_slide` MODIFY `question_id` INT;

COMMIT;
