Skip to content

Database connection as shown in tutorial is possibly wrong #9

Description

@yeboahnanaosei

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions