Having a production deployment bash script how can I pass in artisan confirmations?
I mean
php artisan:migrate
stops now with the following error
**************************************
* Application In Production! *
**************************************
Command Canceled!
CodePudding user response:
you can simply use --force
flag.
laravel by default prevents you from running some sensitive commands in production to prevent data loss and ...
you can override this behavior by this flag.