Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upembedded_migrations::revert missing #1366
Comments
This comment has been minimized.
|
We've purposely excluded the Dropping and recreating your database is not recommended for tests. Instead, you should run your tests in a transaction. We provide |
sgrif
closed this
Dec 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
agentsim commentedDec 10, 2017
After generating migrations with
embed_migrations!, the resulting module does not include therevertmethod.I would like to
revertand thenrunmigrations before each unit test, guaranteeing a clean database before each test invocation.