I know it should be in the hooks, but I don’t know how to call migration commmand inside it.
You can define it on vowfile, see this example
This wasn’t the answer for us. We needed to reset the db after each test. Transaction rollbacks to the rescue, but we’ve had to add it to each suite’s beforeEach and afterEach.
A bit late, but you can do as in the following answer: Add traits to all test files globally? . Same way you can use
suite.trait you can use
Thanks for the tip