-- Revert gaia:api_20161117_update_api_zone from mysql

BEGIN;

ALTER TABLE `api_zone`
DROP COLUMN `show_diary_tab`,
DROP COLUMN `show_topic_tab`,
DROP COLUMN `show_service_tab`,
DROP COLUMN `default_sort_type`,
DROP COLUMN `topic_tab_position`,
DROP COLUMN `diary_tab_position`,
DROP COLUMN `service_tab_position`,
DROP COLUMN `zone_type`;

DROP TABLE `api_overheaddiary`;

ALTER TABLE `api_overheadtopic` DROP COLUMN `deleted`;



COMMIT;
