debug produciton db connection

This commit is contained in:
Sorrel Bri 2020-01-09 16:29:20 -08:00 committed by sorrelbri
parent 52e6271738
commit a451144581
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
web: npm start web: npm start
release: npm migrate release: npm run migrate

View file

@ -15,7 +15,7 @@ module.exports = {
staging: { staging: {
client: 'postgresql', client: 'postgresql',
connection: process.env.PG_CONNECTION_STRING, connection: process.env.DATABASE_URL,
migrations: { migrations: {
directory: './data/migrations', directory: './data/migrations',
}, },
@ -28,7 +28,7 @@ module.exports = {
production: { production: {
client: 'postgresql', client: 'postgresql',
connection: process.env.PG_CONNECTION_STRING, connection: process.env.DATABASE_URL,
migrations: { migrations: {
directory: './data/migrations', directory: './data/migrations',
}, },