Current solution could be better and not have the application cater for database migrations as much. Maybe migrations can be manually handled or by another tool.
Using dotnet ef when Ordering.API is the startup project
cd Ordering.Infrastructure
dotnet ef --startup-project ../Ordering.API/ migrations add MyMigration This will create migrations in the Ordering.Infrastructure project.
cd Ordering.Infrastructure
dotnet ef database updatecd Ordering.StateService
dotnet ef database update
- Create a blank
order_eventsdatabase on theburgers.dataserver and runevent_store.sqlagainst it.