title: sequelize-auto TypeError: connection.query(...).on is not a function
body: <p>I tried to use <a href="https://github.com/sequelize/sequelize-auto" rel="noreferrer">sequelize-auto</a> to automatically generate models from existing PostgreSQL tables for <a href="https://github.com/sequelize/sequelize" rel="noreferrer">SequelizeJS</a>.</p>
  
  <pre><code>npm install -g sequelize-auto pg
  sequelize-auto -o "./models" -d myDatabase -h localhost -u myUsername -p 5432 -x myPassword -e postgres
  </code></pre>
  
  <p>However, it failed with error <code>TypeError: connection.query(...).on is not a function</code></p>
  
  <p>Note: I'm using the following library versions:</p>
  
  <ul>
  <li>sequelize-auto@0.4.29</li>
  <li>pg@7.4.3</li>
  </ul>