DROP TABLE IF EXISTS `tb_document_import_batch_retry_request`;

ALTER TABLE `tb_document_import_batch`
    DROP COLUMN `last_retry_key_hash`,
    DROP COLUMN `last_retry_generation`,
    ADD INDEX `idx_document_import_batch_status_modified`
        (`status`, `modified`, `id`) USING BTREE;
