sadaiMudiNaadhar
sadaiMudiNaadhar

Reputation: 364

Lumen 5.6 php artisan migrate --env=testing not working

Steps To Reproduce:

Problem

Old env file configuration is executing.

Upvotes: 1

Views: 2708

Answers (2)

sadaiMudiNaadhar
sadaiMudiNaadhar

Reputation: 364

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

PR LINK FIX

Upvotes: 1

Sergio
Sergio

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

Related Questions