private function executeMigration(UnitOfWork $unitOfWork)
    {
        try {
            $unitOfWork->migrate($this->connection);
            $this->historyRepository->add($unitOfWork);
        } catch (QueryNotSuccessfulException $e) {
            // for now do nothing  and leave out of history
        }
    }