From 196652ffd50a94b44c7f0aaa0475c9407772a336 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Fri, 21 Aug 2020 02:00:55 -0700 Subject: [PATCH] Add back db specific scripts. --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 14283e15..ee8b1f8f 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,11 @@ "build-tracker": "rollup -c rollup.tracker.config.js", "copy-db-schema": "node scripts/copy-db-schema.js", "build-db-schema": "dotenv prisma introspect", - "build-db-client": "dotenv prisma generate" + "build-db-client": "dotenv prisma generate", + "build-mysql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.mysql.prisma", + "build-mysql-client": "dotenv prisma generate -- --schema=./prisma/schema.mysql.prisma", + "build-postgresql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.postgresql.prisma", + "build-postgresql-client": "dotenv prisma generate -- --schema=./prisma/schema.postgresql.prisma" }, "lint-staged": { "**/*.js": [