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

ALTER TABLE `ied_dl_record`
ADD INDEX `idx` (`dev_id` ASC, `create_time` ASC);