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', },