dotnet / Scaffolding

Code generators to speed up development.
MIT License
620 stars 218 forks source link

Blazor CRUD scaffolder should add the EF Core migrations endpoint #2592

Open danroth27 opened 7 months ago

danroth27 commented 7 months ago

If you run the new Blazor CRUD scaffolder, it doesn't add the EF Core migrations endpoint, which makes it harder to run migrations to set up the database.

Repro steps:

Expected result: EF Core migrations endpoint renders a helpful error message saying you need to run migrations to set up the database. Actual result: You get a difficult to understand error that EF Core couldn't connect to the database

Proposed fix:

deepchoudhery commented 7 months ago

sounds good, will aim for 8.0.1 timeline.

deepchoudhery commented 1 day ago

addressed #2835, will be released for .NET 8 and .NET 9 Preview 6 next week!