build: Run migrations before starting

This commit is contained in:
Aleksi Lassila
2024-06-17 00:59:22 +03:00
parent 663d842ae5
commit 0bde0db218

View File

@@ -11,7 +11,7 @@
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/src/main",
"start:prod": "npm run typeorm:run-migrations && node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",