debug produciton db connection

This commit is contained in:
Sorrel Bri 2020-01-09 16:29:20 -08:00 committed by sorrelbri
parent 458876a2b4
commit 3a5125893b
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',
}, },