Replies: 1 comment 2 replies
-
This is my cheat sheet i have in the readme. dotnet ef migrations add "SampleMigration" --project src\Infrastructure --startup-project src\WebUI --output-dir Persistence\Migrations run database update dotnet ef database update --project src\Infrastructure --startup-project src\WebUI create migration dotnet ef migrations add CreateIdentitySchema --project src\Infrastructure --startup-project src\WebUI --output-dir Persistence\Migrations |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the template and I was able to add migration.
But when trying to apply this migration, i'm getting this error:
"Unable to create an object of type 'ApplicationDbContext'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728"
I have just typed "update-database"
Beta Was this translation helpful? Give feedback.
All reactions