Skip to content

Commit

Permalink
Update 100-data-modeling.mdx (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb-ifit authored Mar 25, 2021
1 parent 305c065 commit d9c11a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Depending on which parts of Prisma you want to use in your application, the data
No matter which approach though, with Prisma you never create application models in your programming language by manually defining classes, interfaces, or structs. Instead, the application models are defined in your [Prisma schema](../../components/prisma-schema):

- **Only Prisma Client**: Application models in the Prisma schema are _generated based on the introspection of your database schema_. Data modeling happens primarily on the database-level.
- **Prisma Client and Prisma Migrate)**: Data modeling happens in the Prisma schema by _manually adding application models_ to it. Prisma Migrate maps these application models to tables in the underlying database.
- **Prisma Client and Prisma Migrate**: Data modeling happens in the Prisma schema by _manually adding application models_ to it. Prisma Migrate maps these application models to tables in the underlying database.

As an example, the `User` model from the previous example would be represented as follows in the Prisma schema:

Expand Down

0 comments on commit d9c11a5

Please sign in to comment.