From a4e10d2de1ea8d123f2dde8ee31177f349c1fd2b Mon Sep 17 00:00:00 2001 From: sbriat Date: Tue, 17 Oct 2023 16:15:17 +0200 Subject: [PATCH] fix prisma schema & generate --- package.json | 2 +- prisma/schema.prisma | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7e13c92..0f4cba1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "test:integration:ci": "npm run migrate:test:ci && dotenv -e ci/.env.ci -- jest --testPathPattern 'tests/integration/' --runInBand", "test:cov": "jest --testPathPattern 'tests/unit/' --coverage", "test:e2e": "jest --config ./test/jest-e2e.json", - "migrate": "docker exec v3-auth-api sh -c 'npx prisma migrate dev'", + "migrate": "docker exec v3-user-api sh -c 'npx prisma migrate dev'", "migrate:test": "dotenv -e .env.test -- npx prisma migrate deploy", "migrate:test:ci": "dotenv -e ci/.env.ci -- npx prisma migrate deploy", "migrate:deploy": "npx prisma migrate deploy" diff --git a/prisma/schema.prisma b/prisma/schema.prisma index e756077..2cfade4 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -2,7 +2,8 @@ // learn more about it in the docs: https://pris.ly/d/prisma-schema generator client { - provider = "prisma-client-js" + provider = "prisma-client-js" + binaryTargets = ["linux-musl", "debian-openssl-3.0.x"] } datasource db {