S
S
Samuello2019-12-11 15:55:34
Laravel
Samuello, 2019-12-11 15:55:34

Why is Eloquent looking at the wrong database?

Hi, when working with the database, eloquent looks into the "laravel" database, although another is specified in the env
1UE04kpTQzU.jpg
zHv75Wy_2WU.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valeriu Vodnicear, 2019-12-11
@Samuello

have you tried?
php artisan config:cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question