Merge branch 'fixPrisma' into 'main'

Fix prisma

See merge request v3/service/user!45
This commit is contained in:
Sylvain Briat 2023-10-17 14:21:15 +00:00
commit cdd7fcbafc
3 changed files with 6 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@mobicoop/user",
"version": "1.2.1",
"version": "1.2.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@mobicoop/user",
"version": "1.2.1",
"version": "1.2.2",
"license": "AGPL",
"dependencies": {
"@grpc/grpc-js": "^1.9.5",

View File

@ -1,6 +1,6 @@
{
"name": "@mobicoop/user",
"version": "1.2.1",
"version": "1.2.2",
"description": "Mobicoop V3 User Service",
"author": "sbriat",
"private": true,
@ -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"

View File

@ -3,6 +3,7 @@
generator client {
provider = "prisma-client-js"
binaryTargets = ["linux-musl", "debian-openssl-3.0.x"]
}
datasource db {