2
我喜欢Artisan在运行潜在的破坏性操作(如迁移和播种生产)之前会提示我,我想知道是否有任何方法可以让我在其他环境,如分段。例如,如果我跑php artisan migrate
它会输出:在Laravel/Artisan迁移或种植时的环境特定提示
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command?