do migrate on start instead

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-10-12 08:15:23 +02:00
parent fe7e2325aa
commit 9ce18c480d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "bun src/app.ts",
"start": "bunx prisma migrate deploy && bun src/app.ts",
"dev": "bun --watch src/app.ts",
"codegen": "bunx prisma generate"
},