- Lumen Version: 5.6
- PHP Version: 7.2
- Database Driver & Version: SQLite 3
Steps To Reproduce:
- cp .env .env.testing
- Set
APP_ENV=testing
- Run php artisan migrate –env=testing
Problem
Old env file configuration is executing.
APP_ENV=testing
Problem
Old env file configuration is executing.
2
Answers
I found the solution myself. This feature is not there in this lumen version.
PR LINK FIX
First:
You need to specify the environment before the migrate command.