Confirmation prompt for craft migrate in production
See original GitHub issueIs your feature request related to a problem? Please describe. When I run a migration on production, I want to be sure what it’s going on. The confirmation prompt will be useful.
Describe the solution you’d like
An confirmation prompt when running craft migrate with APP_ENV=production. Adding a --force flag to force the commands to run without a prompt.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Migrations | Craft CMS Documentation | 3.x
For the most part, migrations in Craft work similarly to Yii's implementation ... Enter yes at the prompt, and a new migration file...
Read more >How I Update Craft CMS 3.6.x and Craft CMS Plugins
Confirm the latest version of Craft by visiting the Update utility in the Craft control panel at http://example.test/admin/utilities/updates.
Read more >Migrations for Deployment - Craft CMS Stack Exchange
If your production server is getting user-generated content, then your best bet is to just keep track of changes you make, and redo...
Read more >Laravel migrate on production server - Stack Overflow
The confirmation prompt is there to make you stop and think twice before potentially cause harm. Some migration operations are destructive, ...
Read more >Craft Freeform 3.x - Common Issues & Questions
Are you 100% certain the email notification is not in a spam folder? Is the email address correct? Is the form successfully being...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

oh, no its not enforced but it will be in the docs so it will be “the way to do things”
This would be a breaking change if anyone has any production scripts so setting that label on this