AutoReversing Migrations in FluentMigrator
Know how to automatically generate reverse migrations in FluentMigrator using the AutoReversingMigration class.
Know how to automatically generate reverse migrations in FluentMigrator using the AutoReversingMigration class.
Writing tests for Dapper is traditionally challenging due to two reasons. In this post, we will explore how to write integration test fixtures for Dapper queries using TestContainers in xUnit and how to reuse the database container across multiple tests.
In this post, we will explore how to use Dapper with FluentMigrator for schema migrations in ASP.NET Core. We will set up a simple project, and use FluentMigrator to manage the schema migrations in code and run them during the application startup.