Answer the question
In order to leave comments, you need to log in
Why are model changes not being applied in the database?
I am writing a project using .Net Core 3 using EF Core and Net Core Identity. Created a user model and inherited it from the IdentityUser class. Why fields that are specified in the User model do not appear in the database? When trying to add a migration or enable migrations, VS writes
The EntityFramework package is not installed on project ""Although EF Core works
Answer the question
In order to leave comments, you need to log in
Most likely, you need to specify the target project (where the migrations will be written) and the start project (where the settings will be taken from). If you have everything in one project, then write the same:
And if you have postgresql, then you need to add a package under it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question