title: How can I drop all tables with Sequelize.js using postgresql?
body: <p>I am trying:</p>
  
  <pre><code>if (process.NODE_ENV === 'test') {
    foreignKeyChecks = 0;
    forceSync = true;
  } else {
    foreignKeyChecks = 1;
    forceSync = false;
  }
  
  global.db.sequelize.query("SET FOREIGN_KEY_CHECKS = " + foreignKeyChecks).then(function() {
    return global.db.sequelize.sync({
      force: forceSync
    });
  }).then(function() {
    return global.db.sequelize.query('SET FOREIGN_KEY_CHECKS = 1');
  }).then(function() {
    var server;
    console.log('Initialzed database on:');
    console.log(config.db);
    return server = app.listen(port, function() {
      return console.log("Server listening at http://" + (server.address().address) + ":" + (server.address().port));
    });
  })["catch"](function(err) {
    return console.log('err', err);
  });
  
  module.exports = app;
  </code></pre>
  
  <p>But I get: <code>SequelizeDatabaseError: unrecognized configuration parameter "foreign_key_checks"</code></p>
  
  <p>I assume I can't have that keyword in postgres? But is there an equivalent way to drop all tables and recreate?</p>