Skip to content

Commit

Permalink
update other .env exampel
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell authored Mar 27, 2024
1 parent 78c270f commit 0903b5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you'd like to use the [connection pooling feature](https://supabase.com/docs/

```env file=.env
# Connect to Supabase via connection pooling with Supavisor.
DATABASE_URL="postgres://postgres.[your-supabase-project]:[password]@aws-0-eu-central-1.pooler.supabase.com:6543/postgres?pgbouncer=true"
DATABASE_URL="postgres://postgres.[your-supabase-project]:[password]@aws-0-[aws-region].pooler.supabase.com:6543/postgres?pgbouncer=true"
```

If you would like to use the Prisma CLI in order to perform other actions on your database (e.g. migrations) you will need to add a `DIRECT_URL` environment variable to use in the `datasource.directUrl` property so that the CLI can bypass Supavisor:
Expand Down

0 comments on commit 0903b5b

Please sign in to comment.