question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Confirmation prompt for craft migrate in production

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
josephmancusocommented, Aug 3, 2020

oh, no its not enforced but it will be in the docs so it will be “the way to do things”

1reaction
josephmancusocommented, Feb 3, 2020

This would be a breaking change if anyone has any production scripts so setting that label on this

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found