From dbfadcaade3bf87664418fd2b1abfa7f4c7c794f Mon Sep 17 00:00:00 2001 From: nael Date: Tue, 31 Oct 2023 11:26:08 +0100 Subject: [PATCH 1/4] feat: dix ci --- packages/api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/package.json b/packages/api/package.json index 47f5a7f7c..6fed1d69c 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -6,7 +6,7 @@ "private": true, "license": "UNLICENSED", "scripts": { - "build": "npx prisma migrate dev --name init && nest build", + "build": "npx prisma migrate dev --name init --force && nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch", From 6813243c14109f406bd8dba9f123db865d4fa890 Mon Sep 17 00:00:00 2001 From: nael Date: Tue, 31 Oct 2023 11:28:44 +0100 Subject: [PATCH 2/4] feat: fix ci --- packages/api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/package.json b/packages/api/package.json index 6fed1d69c..51777f839 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -6,7 +6,7 @@ "private": true, "license": "UNLICENSED", "scripts": { - "build": "npx prisma migrate dev --name init --force && nest build", + "build": "npx prisma migrate dev --name init --create-only && nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch", From 90e7383380b766f500d856aee6829f15ab8ac0cb Mon Sep 17 00:00:00 2001 From: nael Date: Tue, 31 Oct 2023 11:30:20 +0100 Subject: [PATCH 3/4] feat: fix ci- --- packages/api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/package.json b/packages/api/package.json index 51777f839..5e767a68b 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -6,7 +6,7 @@ "private": true, "license": "UNLICENSED", "scripts": { - "build": "npx prisma migrate dev --name init --create-only && nest build", + "build": "npx prisma migrate deploy --force && nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch", From 743a9931fe8a11c85a4a63668a152fba6c80dac0 Mon Sep 17 00:00:00 2001 From: nael Date: Tue, 31 Oct 2023 11:33:40 +0100 Subject: [PATCH 4/4] feat: fix ci- --- packages/api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/package.json b/packages/api/package.json index 5e767a68b..fd838a5c7 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -6,7 +6,7 @@ "private": true, "license": "UNLICENSED", "scripts": { - "build": "npx prisma migrate deploy --force && nest build", + "build": "prisma migrate reset --force && npx prisma migrate dev --name init && nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch",