From 9923074e04b51e47970b9f497368aa6a3305d679 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 20 Jul 2022 09:16:02 +0200 Subject: [PATCH] Add script to open prisma studio with prod env variables (#1087) --- .gitignore | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8490fadb6..b91474588 100644 --- a/.gitignore +++ b/.gitignore @@ -24,15 +24,16 @@ # misc /.angular/cache +.env.prod /.sass-cache /connect.lock /coverage /dist /libpeerconnection.log npm-debug.log -yarn-error.log testem.log /typings +yarn-error.log # System Files .DS_Store diff --git a/package.json b/package.json index fd2c10fa0..091ca3662 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "database:format-schema": "prisma format", "database:generate-typings": "prisma generate", "database:gui": "prisma studio", + "database:gui:prod": "npx dotenv-cli -e .env.prod -- prisma studio", "database:migrate": "prisma migrate deploy", "database:push": "prisma db push", "database:seed": "prisma db seed",