def METHOD_NAME(self, job_config: CreateEventPublisherJob):
    """Patch table constraints"""
    try:
        self.reindex_job = self.metadata.reindex_es(config=job_config)
        logger.debug("Successfully created the elasticsearch reindex job")
    except Exception as exc:
        logger.debug(traceback.format_exc())
        logger.error(
            f"Unexpected error while triggering elasticsearch reindex job: {exc}"
        )