Skip to content

Commit

Permalink
Wrap database URL with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jul 4, 2024
1 parent 1d7c27b commit 15fb7b1
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
Expand Up @@ -11,7 +11,7 @@ module.exports.handler = async () => {

const DATABASE_URL = getURL(username, password);
const output = execSync(
`DATABASE_URL=${DATABASE_URL} ./node_modules/.bin/prisma migrate deploy`
`DATABASE_URL="${DATABASE_URL}" ./node_modules/.bin/prisma migrate deploy`
);

console.log(output.toString());
Expand Down

0 comments on commit 15fb7b1

Please sign in to comment.