-- Revert mimas-talos:talos_2019_04_04_tractate_add_extra_table from mysql

BEGIN;

alter table `api_tractate_favor` drop column `is_read`;
alter table `api_tractate` drop column `audit_time`;

alter table `api_tractate_images`
  drop column `width`,
  drop column `height`;

alter table `api_tractate_video`
  drop column `video_cover_url`,
  drop column `width`,
  drop column `height`;

DROP TABLE `api_tractate_check`;
DROP TABLE `api_tractate_message`;
DROP TABLE `api_tractate_reply`;
DROP TABLE `api_tractate_reply_vote`;
DROP TABLE `api_tractate_report`;
DROP TABLE `api_tractate_vote`;

COMMIT;
