-- Revert mimas-talos:2019-09-24-tractate_and_reply_add_column from mysql

BEGIN;

alter table `api_tractate` drop column `platform_id`;
alter table `api_tractate_reply` drop column (`platform`, `platform_id`);
DROP INDEX `api_tractate_cb857215` ON `api_tractate`;
DROP INDEX `api_tractate_reply_cb857215` ON `api_tractate_reply`;

COMMIT;
