Reputation: 364
APP_ENV=testing
Problem
Old env file configuration is executing.
Upvotes: 1
Views: 2708
Reputation: 364
I found the solution myself. This feature is not there in this lumen version.
Upvotes: 1
Reputation: 159
First:
php artisan cache:clear
php artisan config:cache
You need to specify the environment before the migrate command.
php artisan --env=testing migrate
Upvotes: 3