diff --git a/content/200-orm/100-prisma-schema/50-introspection.mdx b/content/200-orm/100-prisma-schema/50-introspection.mdx index 5d5394d3f8..2d49323796 100644 --- a/content/200-orm/100-prisma-schema/50-introspection.mdx +++ b/content/200-orm/100-prisma-schema/50-introspection.mdx @@ -38,11 +38,11 @@ You can learn more about how Prisma ORM maps types from the database to the type ## The `prisma db pull` command -You can introspect your database using the `prisma db pull` command of the [Prisma CLI](/orm/tools/prisma-cli#installation). Note that using this command requires your [connection URL](/orm/reference/connection-urls) to be set in your Prisma schema [`datasource`](/orm/prisma-schema/overview/data-sources). +You can introspect your database using the `prisma db pull` command of the [Prisma CLI](/orm/tools/prisma-cli#installation). Note that using this command requires your [connection URL](/orm/reference/connection-urls) to be set in your Prisma config [`datasource`](/orm/reference/prisma-config-reference#datasourceurl). Here's a high-level overview of the steps that `prisma db pull` performs internally: -1. Read the [connection URL](/orm/reference/connection-urls) from the `datasource` configuration in the Prisma schema +1. Read the [connection URL](/orm/reference/connection-urls) from the `datasource` configuration in the Prisma config 1. Open a connection to the database 1. Introspect database schema (i.e. read tables, columns and other structures ...) 1. Transform database schema into Prisma schema data model