title: How to create a clean postgres DB for testing with sqlalchemy
body: <p>I use it in postgres for system development.</p>
  <p>When testing, I would like to create a clean DB and proceed with the test based on it. Is it possible with postgres?</p>
  <p>In the case of sqlite, it is possible to create a temporary database by coding as follows.</p>
  <pre class="lang-py prettyprint-override"><code>engine = create_engine('sqlite:///./test_temp.db', echo=False)
  
  _session_factory = scoped_session(
      sessionmaker(autocommit=False, autoflush=False, bind=engine)
  )
  </code></pre>
  <p>How can I achieve this with postgres?</p>