From d21b821c13aa9bdf8cd75d45bf0480f46351eb66 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Mon, 20 Mar 2023 16:41:06 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Updat?= =?UTF-8?q?e=20migration=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way, prisma will pull env vars from .env in root --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a05057c3a..273b98839 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "turbo run build --filter=@rallly/web...", "db:deploy": "turbo db:deploy", "db:generate": "turbo db:generate", - "db:migrate": "yarn workspace @rallly/database prisma migrate dev", + "db:migrate": "prisma migrate dev", "test": "yarn workspace @rallly/web test", "lint": "turbo lint", "lint:tsc": "turbo lint:tsc",