text: // Update with your config settings.
  require('dotenv').config();
  const localpgSetup = {
  	host: process.env.DB_HOST,
  	user: process.env.DB_USER,
  	password: process.env.DB_PASS,
  	database: process.env.DB_DATABASE
  };
  
  dbConnection = localpgSetup;
  
  module.exports = {
  	development: {
  		client: 'pg',
  		migrations: {
  			directory: './data/migrations'
  		},
  		seeds: {
  			directory: './data/seeds'
  		},
  		useNullAsDefault: true,
  		connection: dbConnection
  	},
  
  	staging: {
  		client: 'postgresql',
  		connection: {
  			database: 'my_db',
  			user: 'username',
  			password: 'password'
  		},
  		pool: {
  			min: 2,
  			max: 10
  		},
  		migrations: {
  			tableName: 'knex_migrations'
  		}
  	},
  
  	production: {
  		client: 'pg',
  		connection: dbConnection,
  		pool: {
  			min: 2,
  			max: 10
  		},
  		migrations: {
  			directory: './data/migrations'
  		},
  		seeds: {
  			directory: './data/seeds'
  		},
  		useNullAsDefault: true
  	}
  };
  