def undo(self, workflow_dict):
        try:

            if 'databaseinfra' in workflow_dict:
                LOG.info("Destroying databaseinfra...")
                workflow_dict['databaseinfra'].delete()
                return True

        except Exception:
            traceback = full_stack()

            workflow_dict['exceptions']['error_codes'].append(DBAAS_0002)
            workflow_dict['exceptions']['traceback'].append(traceback)

            return False
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/workflow/steps/util/deploy/build_databaseinfra.py/BuildDatabaseInfra.undo/original