debug produciton db connection
This commit is contained in:
parent
458876a2b4
commit
3a5125893b
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