You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/200-orm/100-prisma-schema/50-introspection.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,11 +38,11 @@ You can learn more about how Prisma ORM maps types from the database to the type
38
38
39
39
## The `prisma db pull` command
40
40
41
-
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).
41
+
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).
42
42
43
43
Here's a high-level overview of the steps that `prisma db pull` performs internally:
44
44
45
-
1. Read the [connection URL](/orm/reference/connection-urls) from the `datasource` configuration in the Prisma schema
45
+
1. Read the [connection URL](/orm/reference/connection-urls) from the `datasource` configuration in the Prisma config
46
46
1. Open a connection to the database
47
47
1. Introspect database schema (i.e. read tables, columns and other structures ...)
48
48
1. Transform database schema into Prisma schema data model
0 commit comments