ALTER TABLE `steady_checksquare_task`
    CHANGE COLUMN `max_missing_rate` `min_data_integrity` DECIMAL(12,6) NOT NULL DEFAULT 0.000000 COMMENT '最低数据完整性';

ALTER TABLE `steady_checksquare_item`
    DROP INDEX `idx_steady_checksquare_item_missing_rate`,
    CHANGE COLUMN `missing_rate` `data_integrity` DECIMAL(12,6) NOT NULL DEFAULT 0.000000 COMMENT '数据完整性',
    CHANGE COLUMN `missing_rate_text` `data_integrity_text` VARCHAR(32) NULL COMMENT '数据完整性文本',
    DROP COLUMN `max_continuous_missing_minutes`,
    ADD KEY `idx_steady_checksquare_item_data_integrity` (`data_integrity`);

ALTER TABLE `steady_checksquare_stat_summary`
    CHANGE COLUMN `missing_rate` `data_integrity` DECIMAL(12,6) NOT NULL DEFAULT 0.000000 COMMENT '数据完整性',
    CHANGE COLUMN `missing_rate_text` `data_integrity_text` VARCHAR(32) NULL COMMENT '数据完整性文本',
    DROP COLUMN `max_continuous_missing_minutes`;
