DELETE FROM `ohrm_advanced_report`
    WHERE `unique_name` IN ('Changed_Employee_Information_Export_Report', 'Changed_Employee_Information_Export_Report_Separate_JobSalary_History');

DELETE FROM `ohrm_data_group`
    WHERE `name` = 'employee_data_export';

DELETE FROM `ohrm_external_data_queue_consumer`
    WHERE `name` IN ('Changed Employee Detection queue consumer', 'Changed Employee Detection queue consumer with future effective');

DELETE FROM `ohrm_external_integration_process`
    WHERE `name` IN ('ChangedEmployeeVerification', 'ChangedEmployeeVerificationWithFutureEffective');

DELETE FROM `ohrm_external_integration_process`
    WHERE `name` IN ('ChangedEmployeeReportGeneration', 'ChangedEmployeeHistoryReportGeneration');

DELETE FROM `ohrm_external_async_event_tag`
    WHERE `name` IN ('payroll_changed_employee', 'payroll_changed_employee_with_future_effective');

DELETE FROM `ohrm_external_async_event_queue`
    WHERE `name` IN ('Queue_For_Changed_Employee_Detection', 'Queue_For_Changed_Employee_Detection_With_Future_Effective');

DELETE FROM `ohrm_screen`
    WHERE `name` = 'Employee Data Export';

DELETE FROM `ohrm_menu_item`
    WHERE `menu_title` = 'Employee Data Export';

DELETE FROM `ohrm_oauth_client`
    WHERE `client_id` = 'employee_export_report_client';

DELETE FROM `ohrm_config`
    WHERE property = 'esb.employee_data_export_enabled_date';
