-- Revert gaia:2019_10_08_add_column_is_online from mysql

BEGIN;

ALTER TABLE `api_special` DROP COLUMN `polymer_unselected_image`;
ALTER TABLE `api_special` DROP COLUMN `activity_rules`;

ALTER TABLE `api_seckillpolymer` DROP COLUMN `rules`;
ALTER TABLE `api_seckillpolymer` DROP COLUMN `is_online`;
ALTER TABLE `api_seckillpolymer` DROP COLUMN `create_time`;
ALTER TABLE `api_seckillpolymer` DROP COLUMN `update_time`;

ALTER TABLE `api_seckillpolymer` modify COLUMN `tool_bar_json` longtext NOT NULL;

DROP TABLE `api_seckillpolymerlayout`;

COMMIT;
