text: // Update with your config settings.
  require("dotenv").config();
  
  module.exports = {
  
    development: {
      client: 'pg',
      connection: {
        host: process.env.POSTGRES_DEV_HOST,
        user: process.env.POSTGRES_DEV_USER,
        password: process.env.POSTGRES_DEV_PASSWORD,
        database: process.env.POSTGRES_DEV_DATABASE,
      },
      pool: {
        min: 2,
        max: 10
      },
      useNullAsDefault: true,
  
      migrations: {
        directory: './data/migrations'
      },
  
      seeds: {
        directory: './data/seeds'
      }
    },
  
    production: {
      client: 'pg',
      connection: process.env.DATABASE_URL,
      pool: {
        min: 2,
        max: 10
      },                                                                                                     
  
      migrations: {
        directory: './data/migrations'
      },
  
      seeds: {
        directory: './data/seeds'
      }
    }
  
  };
  