Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirmation prompt before deleting a database #237

Open
alexjpwalker opened this issue Mar 4, 2024 · 0 comments
Open

Confirmation prompt before deleting a database #237

alexjpwalker opened this issue Mar 4, 2024 · 0 comments

Comments

@alexjpwalker
Copy link
Member

Description

There is no confirmation prompt before deleting a database, despite the fact it is one of the most destructive actions you could possibly take.

Reproducible Steps

  1. Set up
    Have a database.

  2. Execute

> database list 
production
> database delete production
  1. Unexpected result
> database delete production
Database 'production' deleted

Expected result

> database delete production
Are you sure you want to delete the database 'production'? This action is NOT reversible. (Y / N)
> N
Database deletion cancelled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant