From 803b88f296b0ff74f5d414fbb4c9de829ab05009 Mon Sep 17 00:00:00 2001 From: Omri Levy <61207713+Omri-Levy@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:39:49 +0200 Subject: [PATCH] revert(workflows-service): reverted db migrate script (#2882) --- services/workflows-service/package.json | 3 +-- services/workflows-service/prisma/data-migrations | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/services/workflows-service/package.json b/services/workflows-service/package.json index 1e10671c55..2db7b99120 100644 --- a/services/workflows-service/package.json +++ b/services/workflows-service/package.json @@ -39,7 +39,7 @@ "upload-sourcemaps": "tsx scripts/upload-sourcemaps.ts", "prepare": "npm run prisma:generate", "db:data-migration:generate": "plop --plopfile ./prisma/data-migrations/plopfile.js --dest ./", - "db:data-migration:migrate": "node dist/src/data-migration/scripts/migrate", + "db:data-migration:migrate": "rimraf ./dist && npm run build && nest start --entryFile ./src/data-migration/scripts/migrate", "db:data-sync": "nest start --entryFile ./src/data-migration/scripts/sync/run", "db:data-migration:import": "tsx ./src/data-migration/scripts/import", "run-validation": "tsx ./scripts/run-validation.ts" @@ -47,7 +47,6 @@ "dependencies": { "@aws-sdk/client-s3": "3.347.1", "@aws-sdk/client-secrets-manager": "^3.620.1", - "@aws-sdk/client-secrets-manager": "^3.620.1", "@aws-sdk/lib-storage": "3.347.1", "@aws-sdk/s3-request-presigner": "3.347.1", "@ballerine/common": "0.9.57", diff --git a/services/workflows-service/prisma/data-migrations b/services/workflows-service/prisma/data-migrations index 0b7e462361..15f349319b 160000 --- a/services/workflows-service/prisma/data-migrations +++ b/services/workflows-service/prisma/data-migrations @@ -1 +1 @@ -Subproject commit 0b7e462361f048d0c3db72dc1309f421a09c94df +Subproject commit 15f349319b8bd23f34a0e6ca28ed190e0a5bab86