-- Deploy gaia:api_2016_02_16_alter_table_api_report to mysql

BEGIN;

ALTER TABLE `api_report` ADD COLUMN `diary_id` integer;
ALTER TABLE `api_report` ADD CONSTRAINT `api_report_diary_id_refs_id_51975aea` FOREIGN KEY (`diary_id`) REFERENCES `api_diary` (`id`);

COMMIT;
