debug produciton db connection
This commit is contained in:
parent
592c44ebb8
commit
f7990fffd9
2 changed files with 3 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
||||||
web: npm start
|
web: npm start
|
||||||
release: npm migrate
|
release: npm run migrate
|
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue