Skip to content

Commit 6213b8b

Browse files
author
vladyslav.kulakov
committed
refactor(readme.md): added instructions on how to generate prisma for Mongodb/Mysql/Postgres
1 parent 34bc68a commit 6213b8b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

generators/app/templates/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,11 @@ When you go by http://localhost:3000/google route, google'll ask you to authoriz
174174

175175
[travis-image]: https://travis-ci.org/caiobsouza/generator-ts-node-api.svg?branch=master
176176
[travis-url]: https://travis-ci.org/caiobsouza/generator-ts-node-api
177+
178+
## Running migrations for Prisma
179+
180+
For Mongodb run:
181+
`npx prisma generate`
182+
183+
For Mysql/Postgres run:
184+
`npm run db:migration`

0 commit comments

Comments
 (0)