ALTER TABLE `tb_document_import_batch_item`
    ADD COLUMN `replaced_document_id` bigint UNSIGNED NULL DEFAULT NULL
        COMMENT '待覆盖的历史文档ID' AFTER `document_id`,
    ADD INDEX `idx_document_import_batch_item_replacement`
        (`replaced_document_id`, `status`, `modified`) USING BTREE;
