Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 541 Bytes

Contrib.md

File metadata and controls

22 lines (14 loc) · 541 Bytes

Contributing to this project

How to cache?

Cache Doc

How to access db?

This project utilizes "Prisma", an ORM (Object Relation Mapper) which facilitates db migrations, Typescript model generation out of the box.

How to create tables/models?

  1. Make the necessary changes in prisma/schema.prisma
  2. prisma generate
  3. To deploy:
    pnpm prisma:local:deploy

Pnpm vs npm

  • npm: Executes pre/post scripts
  • pnpm: doesn't execute pre scripts