From e3ca7ea0fac45aff0fe091af06708f11468e0e08 Mon Sep 17 00:00:00 2001 From: bercivarga <65171545+bercivarga@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:20:36 +0100 Subject: [PATCH] update build step with prisma migrations --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0a11d08..9f6a2d3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "npx prisma generate && npx prisma migrate deploy && next build", "start": "next start", "test": "vitest --passWithNoTests", "lint": "next lint --fix",