Skip to content

Commit

Permalink
Add postinstall script for prisma schema generation (#370)
Browse files Browse the repository at this point in the history
* Update README to include database schema generation instruction

* Remove README and add `postinstall` in backend/package.json

* Fix postinstall command

* Fix format
  • Loading branch information
choidabom authored Oct 23, 2024
1 parent 16f32c7 commit b0c63de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "nest build",
"postinstall": "pnpm run db:generate",
"db:generate": "prisma generate --schema=prisma/schema.prisma",
"start": "nest start",
"start:dev": "nest start --watch",
Expand Down

0 comments on commit b0c63de

Please sign in to comment.