const databaseName = 'Pasta';

module.exports = {
  development: {
    client: 'postgresql',
    connection: `postgres://localhost:5432/${databaseName}`,
    migrations: {
      directory: __dirname + '/src/server/db/migrations'
    },
    seeds: {
      directory: __dirname + '/src/server/db/seeds'
    }
  },
  test: {
    client: 'postgresql',
    connection: `postgres://localhost:5432/${databaseName}_test`,
    migrations: {
      directory: __dirname + '/src/server/db/migrations'
    },
    seeds: {
      directory: __dirname + '/src/server/db/seeds'
    }
  }
};

@@ -110,38 +110,46 @@
 %60postgres://
-localhost:5432
+process.env.heroku_url
 /$%7BdatabaseN
@@ -381,22 +381,30 @@
 s://
-localhost:5432
+process.env.heroku_url
 /$%7Bd

update to heroku things