title: There is no pool defined on the current client - knex.js + node + postgresql
body: <p>I am building an app in node.js and using the knex ORM. I am having trouble running my migrations - I keep getting the error:</p>
  
  <p><code>Error: There is no pool defined on the current client</code></p>
  
  <p>Here is my connection configuration:</p>
  
  <pre><code>module.exports = {
  knex: require('knex')({
      client: 'pg',
      connection: {
          host: env.DB_HOST,
          user: env.DB_USER,
          password: env.DB_USER_PASSWORD,
          database: env.DB_NAME
      },
      pool: {
          min: 0,
          max: 7
      },
      searchPath: env.DB_SEARCHPATH
    })
  };
  </code></pre>
  
  <p>Can someone help?</p>
  
  <p>Thanks in advance!</p>