Hacker News new | ask | show | jobs
by michaelbrooks 2507 days ago
It's using Doctrine so the configuration should be easy to change in the .env file. Update the "DATABASE_URL" line to...

`DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"`

And point it to the correct directory where your file is located.

1 comments

I can't edit, but I was hoping the backticks would create a code block, so please ignore those backticks. Also, more details can be found on their documentation [0].

[0] https://symfony.com/doc/current/doctrine.html#configuring-th...

  DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
Use two or more spaces at the start of the line: https://news.ycombinator.com/formatdoc
That's helpful, thank you.