I am struggling with database changes during development with .NET Core and Entity Framework Core.
When I create new model and add it to dbContext, even with dbContext.Database.EnsureCreated();
in Startup.cs it does not create new tables.
It will create all tables only if I will do dotnet ef database drop
before, but it is pretty annoying to have to seed db every time adding new model.
creating more and more migration every time does not look like good idea to me...
Can someone suggest better way?