1

  • Lumen Version: 5.6
  • PHP Version: 7.2
  • Database Driver & Version: SQLite 3

Steps To Reproduce:

  • cp .env .env.testing
  • SetAPP_ENV=testing
  • Run php artisan migrate --env=testing

Problem

Old env file configuration is executing.

sadaiMudiNaadhar
  • 354
  • 1
  • 12

2 Answers2

2

First:

php artisan cache:clear
php artisan config:cache

You need to specify the environment before the migrate command.

php artisan --env=testing migrate
Sergio
  • 149
  • 7
1

I found the solution myself. This feature is not there in this lumen version.

PR LINK FIX

sadaiMudiNaadhar
  • 354
  • 1
  • 12