Skip to content

Commit 9669bf3

Browse files
Merge pull request #2645 from AmazingTurtle/patch-1
Update prisma.md
2 parents c5de335 + 6c389fc commit 9669bf3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/recipes/prisma.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Now, open up `.env` and adjust the `DATABASE_URL` environment variable to look a
8888
DATABASE_URL="file:./dev.db"
8989
```
9090

91+
Make sure you have a [ConfigModule](https://docs.nestjs.com/techniques/configuration) configured, otherwise the `DATABASE_URL` variable will not be picked up from `.env`.
92+
9193
SQLite databases are simple files; no server is required to use a SQLite database. So instead of configuring a connection URL with a _host_ and _port_, you can just point it to a local file which in this case is called `dev.db`. This file will be created in the next step.
9294

9395
<details><summary>Expand if you're using PostgreSQL or MySQL</summary>

0 commit comments

Comments
 (0)