title: How to run Postgres tests in parallel with NodeJS, Jest and Knex?
body: <p>I have a project that was developed using Postgres in production/staging and Sqlite in development. With Sqlite we were able to run all our tests in parallel in 13 seconds.</p>
  
  <p>This was a great strategy for the initial development, but there are some things that Sqlite just can't do that we need (Eg. dropping columns and adding new foreign keys). So I'm thinking that we should drop Sqlite and just use Postgres.</p>
  
  <p>The test suite takes about a minute to run and if a test fails I routinely have to manually remove the migration tables. It doesn't provide a good testing experience.</p>
  
  <p><strong>Do you have any suggestions for running tests on a Postgres database in parallel using NodeJS, Knex and Jest?</strong></p>