APP_ENV=production
, you may run into issues running migrations in an ad-hoc manner using the “Commands” tab from your environment panel. Since these commands do not support interactivity, the command will fail if it attempts to prompt you for input. This happens most commonly when attempting to run migrations in a production environment. This is a safety feature of Laravel to prevent unexpected data loss.
--force
flag on your command to bypass the production environment warning.
--force
flag include:
APP_ENV
APP_ENV
environment variable in your environment’s Custom Environment Variables to better match your environment’s purpose. Non-production environments will not trigger the same warnings as described above.