-- Revert gaia:2020-04-16-726_group_topic from mysql

BEGIN;

DROP TABLE `api_group_topic_relation`;
DROP TABLE `api_group_topic`;
DROP TABLE `api_group_topic_content`;
DROP TABLE `api_group_topic_follow`;
DROP TABLE `api_group_topic_tag`;
DROP TABLE `api_group_topic_tag_v3`;

ALTER TABLE `api_group` DROP COLUMN `punch_entrance`;
ALTER TABLE `api_group` DROP COLUMN `top_card_id`;
ALTER TABLE `api_group` DROP COLUMN `top_card_type`;

COMMIT;
