Open cer opened 4 years ago
Yes EnsureCreated does not work with migrations. I was using Database.EnsureCreated() before implementing Database Migrations and Forgot to remove this after implementing Migrations. Sorry for that. I have removed it now. https://github.com/eventuate-examples/eventuate-tram-core-dotnet-examples-customers-and-orders/pull/10/commits/4fd5628fe8579248b1715a6ac7a62495972d308e
https://github.com/eventuate-examples/eventuate-tram-core-dotnet-examples-customers-and-orders/blob/a5b7065bab554c30017b8532302edf9db5397b87/CustomerService/DBContext/CustomerContext.cs#L14
From the docs for Database.Migrate():