const databaseName = 'node-security';

module.exports = {
  development: {
    client: 'pg',
    connection: `postgres://postgres:postgres@localhost:5432/${databaseName}`,
    debug: false,
    pool: {
        min: 1,
        max: 2 
    },
    migrations: {
      directory: __dirname + '/server/db/migrations'
    },
    seeds: {
      directory: __dirname + '/server/db/seeds'
    }
  },
  test: {
    client: 'pg',
    connection: `postgres://postgres:postgres@localhost:5432/${databaseName}_test`,
    migrations: {
      directory: __dirname + '/server/db/migrations'
    },
    seeds: {
      directory: __dirname + '/server/db/seeds'
    }
  }
};
@@ -201,18 +201,16 @@
 %7B%0A      
-  
 min: 1,%0A
@@ -219,17 +219,14 @@
     
-  
 max: 2
- 
 %0A   
@@ -639,11 +639,340 @@
    %7D%0A  %7D
+,%0A  production : %7B%0A    client: 'pg',%0A    connection: %60postgres://postgres:postgres@localhost:5432/$%7BdatabaseName%7D%60,%0A    debug: false,%0A    pool: %7B%0A      min: 1,%0A      max: 2%0A    %7D,%0A    migrations: %7B%0A      directory: __dirname + '/server/db/migrations'%0A    %7D,%0A    seeds: %7B%0A      directory: __dirname + '/server/db/seeds'%0A    %7D%0A  %7D,
 %0A%7D;

add production env