const path = require('path');

module.exports = {

  development: {
    client: 'pg',
    connection: 'postgres://localhost/envelopresent',
    migrations: {
      directory: path.join(__dirname, '..', 'datasource', 'migrations'),
      tableName: 'knex_migrations'
    }
  },

  production: {
    client: 'pg',
    connection: process.env.DATABASE_URL,
    pool: {
      min: 2,
      max: 10
    },
    migrations: {
      directory: path.join(__dirname, '..', 'datasource','migrations'),
      tableName: 'knex_migrations'
    }
  }

};

const path = require('path');

module.exports = {

  development: {
    client: 'pg',
    connection: 'postgres://localhost/envelopresent',
    migrations: {
      directory: path.join(__dirname, '..', 'datasource', 'migrations'),
      tableName: 'knex_migrations'
    }
  },

  production: {
    client: 'ps',
    connection: process.env.DATABASE_URL,
    pool: {
      min: 2,
      max: 10
    },
    migrations: {
      directory: path.join(__dirname, '..', 'datasource','migrations'),
      tableName: 'knex_migrations'
    }
  }

};

Revert "Fix DB vendor alias"
Revert "Fix DB vendor alias"

This reverts commit 695b5998b3e7aa0d2a6e10737fca263e85bcc304.
