Level 1
Sep 1, 2015
2
Level 2
Eloquent still using old database connection
I have created a very basic laravel app that uses the default Auth controller and table, using this I have registered one user to allow me to login.
I started development in my Laravel app using sqlite, however I have decided to change this to mysql, I have made the appropriate changes in my .env and database.php files.
Artisan now uses the new db (mysql) for migrations and any commands I use i.e. User:all(); however my laravel application seems to be still using the sqlite db.
it must be down to caching, but I've already ran 'php artisan config:clear' and had no luck.
How can I resolve this?
Please or to participate in this conversation.