-- Deploy mimas-talos:2019-09-24-tractate_and_reply_add_column to mysql

BEGIN;

alter table `api_tractate` add column `platform_id` varchar(125) NOT NULL;
alter table `api_tractate_reply` add column (`platform` varchar(12) NOT NULL, `platform_id` varchar(125) NOT NULL);
CREATE INDEX `api_tractate_cb857215` ON `api_tractate` (`platform_id`);
CREATE INDEX `api_tractate_reply_cb857215` ON `api_tractate_reply` (`platform_id`);

COMMIT;
