Skip to content

Commit 730547d

Browse files
author
Eduardo
committed
feat: add migration command to prebuild command
1 parent 5e59556 commit 730547d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"license": "UNLICENSED",
88
"scripts": {
9-
"prebuild": "npx prisma generate",
9+
"prebuild": "npx prisma migrate deploy && npx prisma generate",
1010
"build": "nest build",
1111
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1212
"start": "nest start --watch",

0 commit comments

Comments
 (0)