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

Add option to force environment and database deletion #169

Merged
merged 4 commits into from
Feb 1, 2022
Merged

Add option to force environment and database deletion #169

merged 4 commits into from
Feb 1, 2022

Conversation

maurocasas
Copy link
Contributor

@maurocasas maurocasas commented Jan 31, 2022

With the idea of integrating Vapor even further in automations, I propose to add --force option to both database:delete as well as env:delete

At the moment these cannot be automatically deleted because they have a Helper::confirm() gate keeping the action.

I understand the risks of such option but I believe it's meant to be used wisely, as the description of the command details.

CHANGELOG

  1. Added --force to database:delete command, allowing to over-pass confirmation. Example: php vendor/bin/vapor database:delete database-name --force
  2. Added --force to env:delete command, allowing to over-pass confirmation. Example: php vendor/bin/vapor env:delete environment-name --force

@taylorotwell taylorotwell merged commit 6bef414 into laravel:master Feb 1, 2022
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

Successfully merging this pull request may close these issues.

2 participants