ALTER TABLE `ied_dl_record`
ADD COLUMN `dev_id` INT(11) NULL DEFAULT NULL COMMENT '装置ID' AFTER `create_time`,
ADD COLUMN `type_id` INT(11) NULL DEFAULT NULL COMMENT '类型id' AFTER `dev_id`,
ADD COLUMN `data` MEDIUMTEXT NULL AFTER `type_id`;

ALTER TABLE `ied_dl_record`
ADD INDEX `idxDev` (`dev_id` ASC, `create_time` ASC);
ALTER TABLE `ied_dl_record`
ADD INDEX `idxConfig` (`config_id` ASC, `create_time` ASC);