Skip to content

Commit

Permalink
Merge pull request #167 from lil-lab/recnet-api/change-pnpx-to-npx
Browse files Browse the repository at this point in the history
[recnet-api] Change pnpx to npx in db migration bootstrap
  • Loading branch information
joannechen1223 authored Mar 12, 2024
2 parents 784db80 + a81bcd6 commit 132c37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/recnet-api/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "recnet-api",
"version": "1.0.0"
"version": "1.0.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class PrismaConnectionProvider

if (process.env.DB_MIGRATE === "true") {
execSync(
`export PRISMA_DATABASE_URL=${this.prismaUrl} && pnpx prisma migrate deploy --schema=${prismaSchema}`,
`export PRISMA_DATABASE_URL=${this.prismaUrl} && npx prisma migrate deploy --schema=${prismaSchema}`,
{ stdio: "inherit" }
);
}
Expand Down

0 comments on commit 132c37c

Please sign in to comment.