Changing default environment in Laravel 4

前端 未结 6 1804
我在风中等你
我在风中等你 2021-02-02 00:35

In Laravel 4 the default configuration environment is \'production\'. This means that if you run an artisan command without the --env option, it assumes the product

6条回答
  •  悲&欢浪女
    2021-02-02 01:27

    In Laravel 4.2 you will not be able to do destructive artisan migrations without being prompted:

    Destructive migration operations now require confirmation or --force when being run in production.

    Change log for 4.2 is here

提交回复
热议问题