Skip to content

Make invenio db destroy idempotent #126

@fenekku

Description

@fenekku

This issue stems from https://github.com/inveniosoftware/invenio-cli potentially re-running invenio db destroy multiple times under the covers and not wanting to throw an exception when the DB is already destroyed.

Like Ansible, invenio-cli's goal (and by extension this cli commands' goal) is to get to a state rather than perform a certain action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions