EF Core Database Initialization: Migrations vs. EnsureCreated for Ephemeral Environments
When designing a repeatable development environment for Entity Framework Core (version 8.0+), the choice of schema initialization affects how the database handles evolution and state. The goal is to establish a consistent baseline for developers and automated integration tests while minimizing startup overhead. Database.EnsureCreated() provides a fast, clean