From f7990fffd9c419a36c66c0707decaf8e610dcbe0 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 --- server/Procfile | 2 +- server/knexfile.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/Procfile b/server/Procfile index f23f1d9..910d90d 100644 --- a/server/Procfile +++ b/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/server/knexfile.js b/server/knexfile.js index 4c3989d..e933bdd 100644 --- a/server/knexfile.js +++ b/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', },