-- Revert gaia:2020_07_23_alter_table_add_device_type from mysql

BEGIN;

-- XXX Add DDLs here.
ALTER TABLE `api_greetingpopup` DROP COLUMN `device_type`;
ALTER TABLE `api_slide` DROP COLUMN `device_type`;
ALTER TABLE `api_index_function` DROP COLUMN `device_type`;
ALTER TABLE `api_gadget` DROP COLUMN `device_type`;
ALTER TABLE `api_service_home_operation` DROP COLUMN `device_type`;
ALTER TABLE `api_specialexterior` DROP COLUMN `device_type`;
ALTER TABLE `api_gadget` DROP COLUMN `payment_type`;
DROP TABLE `api_indexfunctionregion`;
DROP TABLE `api_indexfunctioncity`;
COMMIT;
