Skip to content

Commit

Permalink
Use local prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jun 9, 2024
1 parent fd008ad commit b9d50f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migrations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { execSync } = require("child_process");

module.exports.handler = () => {
const output = execSync("npx prisma migrate deploy");
const output = execSync("./node_modules/.bin/prisma migrate deploy");
console.log(output.toString());
};

0 comments on commit b9d50f7

Please sign in to comment.