From 386dfb906ff5f93bfba4fea85170d1fc1986e083 Mon Sep 17 00:00:00 2001 From: nehalist Date: Fri, 12 Apr 2024 14:46:08 +0200 Subject: [PATCH] build: run migrations on build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 08521c3..d7fd476 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build && npm run db:migrations:execute", "start": "next start", "lint": "next lint && prettier --check src", "test": "jest",