Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit 634beed

Browse files
aquibbaiggurbirkalsi
authored andcommitted
update documentation for getting started with prisma locally
1 parent fbf9806 commit 634beed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

prisma/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ npm install -g prisma
4242
# yarn global add prisma
4343
```
4444

45+
### Generating schema from the datamodel
46+
47+
Prisma automatically handles schema generation from a given data model, you can do that by running
48+
`prisma generate` on your terminal in the `prisma/` directory. The generated files will be placed in the
49+
`generated/` directory. You must not change this file manually and you need to re-run the `prisma generate`
50+
command after every change that's made to your Prisma schema to update the generated Prisma Client code.
51+
4552
#### Step 3: Deploy the Prisma datamodel
4653

4754
```bash

0 commit comments

Comments
 (0)