You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are calls to .Database.Migrate() in the SeedAsync() calls. These should be creating the database if it doesn't exist but do not appear to be working in the Docker setup.
Problem
I was hoping I could avoid installing LocalDB by running the Docker version of this. However, I'm running into issues.
2022-latest
tag as well with the same results.I'm getting this error:
This is what I see when I try to connect to the MVC app in the Docker Container:
The EF migrations can't be applied because the databases don't exist for the Catalog nor for Identity.
Additional Notes
We need to create the databases for the EF contexts. We also need to run the migrations for this to work for Docker.
The text was updated successfully, but these errors were encountered: