Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: fix env configuration vars for Redwood (#28134)

Andrea Velásquezaad356a8fce5
diff --git a/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx b/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx
index 7b73c5fdec7..be4ca73f67e 100644
--- a/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx
+++ b/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx
@@ -90,19 +90,19 @@ hideToc: true
In your `.env` file, add the following environment variables for your database connection:
- * The `DIRECT_URL` should use the Transaction mode connection string you copied in Step 1.
+ * The `DATABASE_URL` should use the Transaction mode connection string you copied in Step 1.
- * The `DATABASE_URL` should use the Session mode connection string you copied in Step 1.
+ * The `DIRECT_URL` should use the Session mode connection string you copied in Step 1.
</StepHikeCompact.Details>
<StepHikeCompact.Code>
```bash .env
# Transaction mode connection string used for migrations
- DIRECT_URL="postgres://postgres.[project-ref]:[db-password]@xxx.pooler.supabase.com:6543/postgres?pgbouncer=true&connection_limit=1"
+ DATABASE_URL="postgres://postgres.[project-ref]:[db-password]@xxx.pooler.supabase.com:6543/postgres?pgbouncer=true&connection_limit=1"
# Session mode connection string — used by Prisma Client
- DATABASE_URL="postgres://postgres.[project-ref]:[db-password]@xxx.pooler.supabase.com:5432/postgres"
+ DIRECT_URL="postgres://postgres.[project-ref]:[db-password]@xxx.pooler.supabase.com:5432/postgres"
```
</StepHikeCompact.Code>