Skip to content

Commit f2d2b91

Browse files
aidankmcalisterthomasgauvin
authored andcommitted
Prisma Postgres PR Suggestion (#24582)
* Prisma Postgres PR suggestion * text change * text update 2 * Update src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/prisma-postgres.mdx --------- Co-authored-by: Thomas Gauvin <[email protected]>
1 parent d6c7208 commit f2d2b91

File tree

1 file changed

+10
-0
lines changed
  • src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers

1 file changed

+10
-0
lines changed

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-database-providers/prisma-postgres.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ You can connect Hyperdrive to any existing Prisma Postgres database by using you
2929
postgres://USERNAME:PASSWORD@HOSTNAME_OR_IP_ADDRESS:PORT/database_name
3030
```
3131

32+
:::note
33+
34+
An alternative to the Prisma Data Platform is to use the [`create-db`](https://www.npmjs.com/package/create-db) package. This package will generate a quick temporary Prisma Postgres database for you to use.
35+
36+
```bash
37+
npx create-db@latest
38+
```
39+
40+
:::
41+
3242
With this connection string, you can now create a Hyperdrive database configuration.
3343

3444
## 2. Create a database configuration

0 commit comments

Comments
 (0)