laravel-multiple-auth
laravel-multiple-auth copied to clipboard
Database connection as shown in tutorial is possibly wrong
Hi, thanks for the tutorial on pusher. I realized that the section that talks about connecting an sqlite database is probably not complete.
To connect to an sqlite database you need to set two variables in the .env
file. The tutorial however just showed one which is:
DB_CONNECTION=/absolute/path/to/database.sqlite
However, you need to set these two:
DB_CONNECTION=sqlite
DB_DATABASE=/absolute/path/to/database.sqlite