Skip to content

Commit f9d19ee

Browse files
committed
feat: ✨ Add postinstall script
1 parent a0263bd commit f9d19ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/db/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
"scripts": {
66
"db:generate": "pnpm dlx prisma generate",
77
"db:push": "pnpm dlx prisma db push --skip-generate",
8+
"db:migrate": "pnpm dlx prisma migrate dev",
89
"db:deploy": "pnpm dlx prisma migrate deploy",
9-
"db:seed": "pnpm dlx prisma db seed"
10+
"db:seed": "pnpm dlx prisma db seed",
11+
"postinstall": "pnpm dlx prisma generate"
1012
},
1113
"exports": {
1214
".": "./src/index.ts"

0 commit comments

Comments
 (0)