From f2cef2e83b0276cd75fdfa29ec1a3a78c17656ff Mon Sep 17 00:00:00 2001 From: Enrico Gruner Date: Fri, 17 Mar 2023 23:17:19 +0100 Subject: [PATCH] Rename directURL to directUrl in prisma.mdx This should reflect the correct name in the Schema https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference --- apps/docs/pages/guides/integrations/prisma.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/docs/pages/guides/integrations/prisma.mdx b/apps/docs/pages/guides/integrations/prisma.mdx index 3623a52ec40..b8b07e3c038 100644 --- a/apps/docs/pages/guides/integrations/prisma.mdx +++ b/apps/docs/pages/guides/integrations/prisma.mdx @@ -162,7 +162,7 @@ Update your Prisma schema by setting the `directUrl` in the datasource block: datasource db { provider = "postgresql" url = env("DATABASE_URL") - directURL = env("DIRECT_URL") + directUrl = env("DIRECT_URL") } ``` @@ -200,7 +200,7 @@ If you would like to use Supabase Auth and Prisma in your application, you will datasource db { provider = "postgresql" url = env("DATABASE_URL") - directURL = env("DIRECT_URL") + directUrl = env("DIRECT_URL") } generator client { @@ -215,7 +215,7 @@ Next, specify the database schemas you would like to include in your Prisma sche datasource db { provider = "postgresql" url = env("DATABASE_URL") - directURL = env("DIRECT_URL") + directUrl = env("DIRECT_URL") schemas = ["public", "auth"] } @@ -255,7 +255,7 @@ If you would like to use a PostgreSQL extension with Prisma, enable the `postgre datasource db { provider = "postgresql" url = env("DATABASE_URL") - directURL = env("DIRECT_URL") + directUrl = env("DIRECT_URL") } generator client { @@ -270,7 +270,7 @@ Next, specify the extensions you need in the `datasource` block: datasource db { provider = "postgresql" url = env("DATABASE_URL") - directURL = env("DIRECT_URL") + directUrl = env("DIRECT_URL") extensions = [hstore(schema: "myHstoreSchema"), pg_trgm, postgis(version: "2.1")] }