Skip to content

Commit 74ea095

Browse files
committed
feat: update start:prod script to include database migration
1 parent c927ffc commit 74ea095

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
@@ -9,7 +9,7 @@
99
"start": "nest start",
1010
"start:dev": "nest start --watch",
1111
"start:debug": "nest start --debug --watch",
12-
"start:prod": "node dist/main",
12+
"start:prod": "prisma migrate deploy && node dist/main",
1313
"test": "jest",
1414
"test:watch": "jest --watch",
1515
"test:cov": "jest --coverage",

0 commit comments

Comments
 (0)