From 4aed7bbd81326dd930c22538a50abcabc11cbc13 Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Thu, 9 Jan 2020 16:29:20 -0800 Subject: [PATCH] debug produciton db connection --- packages/play-node-go/server/Procfile | 2 +- packages/play-node-go/server/knexfile.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/play-node-go/server/Procfile b/packages/play-node-go/server/Procfile index f23f1d9..910d90d 100644 --- a/packages/play-node-go/server/Procfile +++ b/packages/play-node-go/server/Procfile @@ -1,2 +1,2 @@ web: npm start -release: npm migrate \ No newline at end of file +release: npm run migrate \ No newline at end of file diff --git a/packages/play-node-go/server/knexfile.js b/packages/play-node-go/server/knexfile.js index 4c3989d..e933bdd 100644 --- a/packages/play-node-go/server/knexfile.js +++ b/packages/play-node-go/server/knexfile.js @@ -15,7 +15,7 @@ module.exports = { staging: { client: 'postgresql', - connection: process.env.PG_CONNECTION_STRING, + connection: process.env.DATABASE_URL, migrations: { directory: './data/migrations', }, @@ -28,7 +28,7 @@ module.exports = { production: { client: 'postgresql', - connection: process.env.PG_CONNECTION_STRING, + connection: process.env.DATABASE_URL, migrations: { directory: './data/migrations', },