title: How do I clear and migrate the database automatically for testing?
body: <p>I am building an API with Yii2 and have some codeception API tests working with a test database. However I would like to clear and migrate the database on each round of testing.</p>
  
  <p>How do I go about this? I can't find an answer anywhere.</p>