Monday 15 July 2013

Environment specific prompt when migrating or seeding in Laravel/Artisan -



Environment specific prompt when migrating or seeding in Laravel/Artisan -

i artisan prompt me before running potentially destructive operations migrating , seeding on production , i'm wondering if there's way me functionality in other environments, such staging. example, if run php artisan migrate output:

************************************** * application in production! * ************************************** wish run command?

if set app_env=production in .env file, should show message. think that's main purpose of app_env unless using "local" environment other purposes don't want happening in production.

laravel seeding migrating artisan

No comments:

Post a Comment