madslundt / NetCoreMicroservicesSample

Sample using micro services in .NET Core 3.1 Focusing on clean code
MIT License
684 stars 171 forks source link

[QUESTION ] EFCore for eventstore and outbox #12

Open mkojoa opened 3 years ago

mkojoa commented 3 years ago

I am using the same database for event store and outbox but for some reason, tables don't get migrated. I also don't want to migrate them manually. Can anyone help me out?

jbonnett92 commented 2 years ago

@mkojoa They sould be migrated on startup shown here: https://github.com/madslundt/NetCoreMicroservicesSample/blob/1a8e7618343da0a3381abfc6319ccd9ff8adfef2/Src/UsersService/Startup.cs#L83