diff --git a/src/migrations.js b/src/migrations.js index da38912..e532442 100644 --- a/src/migrations.js +++ b/src/migrations.js @@ -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()); };