diff --git a/content/200-concepts/100-components/08-prisma-engines/index.mdx b/content/200-concepts/100-components/08-prisma-engines/index.mdx index 49a58ba986..67a822a6c2 100644 --- a/content/200-concepts/100-components/08-prisma-engines/index.mdx +++ b/content/200-concepts/100-components/08-prisma-engines/index.mdx @@ -40,6 +40,7 @@ Use the following environment variables to specify custom locations for your bin - [`PRISMA_INTROSPECTION_ENGINE_BINARY`](/reference/api-reference/environment-variables-reference#prisma_introspection_engine_binary) (Introspection engine) - [`PRISMA_FMT_BINARY`](/reference/api-reference/environment-variables-reference#prisma_fmt_binary) (for `npx prisma format`) + #### Setting the environment variable You can define environment variables globally on your machine or in the `.env` file. diff --git a/content/300-guides/050-database/880-troubleshooting-orm/050-creating-bug-reports.mdx b/content/300-guides/050-database/880-troubleshooting-orm/050-creating-bug-reports.mdx index b4f2c68abb..a0cd4ef33e 100644 --- a/content/300-guides/050-database/880-troubleshooting-orm/050-creating-bug-reports.mdx +++ b/content/300-guides/050-database/880-troubleshooting-orm/050-creating-bug-reports.mdx @@ -133,7 +133,6 @@ prisma : 2.22.0 Current platform : darwin Query Engine : query-engine 60cc71d884972ab4e897f0277c4b84383dddaf6c (at ../../../../../.npm/_npx/31227/lib/node_modules/prisma/node_modules/@prisma/engines/query-engine-darwin) Migration Engine : migration-engine-cli 60cc71d884972ab4e897f0277c4b84383dddaf6c (at ../../../../../.npm/_npx/31227/lib/node_modules/prisma/node_modules/@prisma/engines/migration-engine-darwin) -Introspection Engine : introspection-core 60cc71d884972ab4e897f0277c4b84383dddaf6c (at ../../../../../.npm/_npx/31227/lib/node_modules/prisma/node_modules/@prisma/engines/introspection-engine-darwin) Format Binary : prisma-fmt 60cc71d884972ab4e897f0277c4b84383dddaf6c (at ../../../../../.npm/_npx/31227/lib/node_modules/prisma/node_modules/@prisma/engines/prisma-fmt-darwin) Default Engines Hash : 60cc71d884972ab4e897f0277c4b84383dddaf6c Studio : 0.379.0 diff --git a/content/300-guides/200-deployment/110-deployment-guides/800-use-prisma-with-serverless-framework.mdx b/content/300-guides/200-deployment/110-deployment-guides/800-use-prisma-with-serverless-framework.mdx index ac5b5383e9..c2bbcf4780 100644 --- a/content/300-guides/200-deployment/110-deployment-guides/800-use-prisma-with-serverless-framework.mdx +++ b/content/300-guides/200-deployment/110-deployment-guides/800-use-prisma-with-serverless-framework.mdx @@ -175,7 +175,6 @@ Serverless: Copy prisma schema for app... Serverless: Generate prisma client for app... Serverless: Remove unused prisma engine: Serverless: - node_modules/.prisma/client/libquery_engine-darwin.dylib.node -Serverless: - node_modules/@prisma/engines/introspection-engine-darwin Serverless: - node_modules/@prisma/engines/libquery_engine-darwin.dylib.node Serverless: - node_modules/@prisma/engines/migration-engine-darwin Serverless: - node_modules/@prisma/engines/prisma-fmt-darwin diff --git a/content/400-reference/200-api-reference/200-command-reference.mdx b/content/400-reference/200-api-reference/200-command-reference.mdx index 19c27d6fef..e2aecc7314 100644 --- a/content/400-reference/200-api-reference/200-command-reference.mdx +++ b/content/400-reference/200-api-reference/200-command-reference.mdx @@ -142,7 +142,6 @@ prisma : 2.21.0-dev.4 Current platform : windows Query Engine : query-engine 2fb8f444d9cdf7c0beee7b041194b42d7a9ce1e6 (at C:\Users\veroh\AppData\Roaming\npm\node_modules\@prisma\cli\query-engine-windows.exe) Migration Engine : migration-engine-cli 2fb8f444d9cdf7c0beee7b041194b42d7a9ce1e6 (at C:\Users\veroh\AppData\Roaming\npm\node_modules\@prisma\cli\migration-engine-windows.exe) -Introspection Engine : introspection-core 2fb8f444d9cdf7c0beee7b041194b42d7a9ce1e6 (at C:\Users\veroh\AppData\Roaming\npm\node_modules\@prisma\cli\introspection-engine-windows.exe) Format Binary : prisma-fmt 60ba6551f29b17d7d6ce479e5733c70d9c00860e (at node_modules\@prisma\engines\prisma-fmt-windows.exe) Default Engines Hash : 60ba6551f29b17d7d6ce479e5733c70d9c00860e Studio : 0.365.0 @@ -173,7 +172,6 @@ prisma : 2.21.0-dev.4 Current platform : windows Query Engine : query-engine 2fb8f444d9cdf7c0beee7b041194b42d7a9ce1e6 (at C:\Users\veroh\AppData\Roaming\npm\node_modules\@prisma\cli\query-engine-windows.exe) Migration Engine : migration-engine-cli 2fb8f444d9cdf7c0beee7b041194b42d7a9ce1e6 (at C:\Users\veroh\AppData\Roaming\npm\node_modules\@prisma\cli\migration-engine-windows.exe) -Introspection Engine : introspection-core 2fb8f444d9cdf7c0beee7b041194b42d7a9ce1e6 (at C:\Users\veroh\AppData\Roaming\npm\node_modules\@prisma\cli\introspection-engine-windows.exe) Format Binary : prisma-fmt 60ba6551f29b17d7d6ce479e5733c70d9c00860e (at node_modules\@prisma\engines\prisma-fmt-windows.exe) Default Engines Hash : 60ba6551f29b17d7d6ce479e5733c70d9c00860e Studio : 0.365.0 @@ -205,7 +203,6 @@ Environment variables loaded from prisma\.env "current-platform": "windows", "query-engine": "query-engine 60ba6551f29b17d7d6ce479e5733c70d9c00860e (at node_modules\\@prisma\\engines\\query-engine-windows.exe)", "migration-engine": "migration-engine-cli 60ba6551f29b17d7d6ce479e5733c70d9c00860e (at node_modules\\@prisma\\engines\\migration-engine-windows.exe)", - "introspection-engine": "introspection-core 60ba6551f29b17d7d6ce479e5733c70d9c00860e (at node_modules\\@prisma\\engines\\introspection-engine-windows.exe)", "format-binary": "prisma-fmt 60ba6551f29b17d7d6ce479e5733c70d9c00860e (at node_modules\\@prisma\\engines\\prisma-fmt-windows.exe)", "default-engines-hash": "60ba6551f29b17d7d6ce479e5733c70d9c00860e", "studio": "0.365.0" diff --git a/content/400-reference/200-api-reference/250-error-reference.mdx b/content/400-reference/200-api-reference/250-error-reference.mdx index f5f4a04a26..aef5a7bdf2 100644 --- a/content/400-reference/200-api-reference/250-error-reference.mdx +++ b/content/400-reference/200-api-reference/250-error-reference.mdx @@ -412,7 +412,7 @@ Original error: {error_code}
"Direct execution of DDL (Data Definition Language) SQL statements is disabled on this database. Please read more here about how to handle this: [https://pris.ly/d/migrate-no-direct-ddl](https://pris.ly/d/migrate-no-direct-ddl)" -### prisma db pull (Introspection Engine) +### prisma db pull #### P4000 diff --git a/content/400-reference/200-api-reference/300-environment-variables-reference.mdx b/content/400-reference/200-api-reference/300-environment-variables-reference.mdx index d4954d1b3f..eb9d315e04 100644 --- a/content/400-reference/200-api-reference/300-environment-variables-reference.mdx +++ b/content/400-reference/200-api-reference/300-environment-variables-reference.mdx @@ -186,6 +186,12 @@ PRISMA_MIGRATION_ENGINE_BINARY=custom/my-migration-engine-unix PRISMA_INTROSPECTION_ENGINE_BINARY=custom/my-introspection-engine-unix ``` + + +- The Introspection Engine is served by the Migration Engine from [4.9.0](https://github.com/prisma/prisma/releases/tag/4.9.0). Therefore, the `PRISMA_INTROSPECTION_ENGINE` environment variable will not be used. + + + #### PRISMA_FMT_BINARY `PRISMA_FMT_BINARY` is used to set a custom location for your own format engine binary.