From 5c630fc737326dac1e8f0da63a1ab0afc9550695 Mon Sep 17 00:00:00 2001 From: DiegoVictor Date: Sat, 15 Jun 2024 12:46:54 -0300 Subject: [PATCH] Use full DATABASE_URL --- src/migrations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrations.js b/src/migrations.js index 0e1df06..6dbcbc3 100644 --- a/src/migrations.js +++ b/src/migrations.js @@ -17,7 +17,7 @@ module.exports.handler = async () => { shell: true, env: { ...process.env, - DATABASE_URL: `postgresql://app_user:${process.env.DATABASE_PASSWORD}@${process.env.DB_HOST}/coderunner`, + DATABASE_URL: process.env.DATABASE_URL, }, } );