Is there any way to do Migrations and Update database properly #534
HelgiBergmann
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
“Right now, to add migrations, I should comment out the lines of code in the project I am applying them to in the Host app, and then run something like
dotnet ef database update --connection "Server=localhost;Port=61580;Database=catalogdb;UserId=u;Password=p" --project src/Catalog.API/Catalog.API.csproj
May be there is should be more easy way?
Beta Was this translation helpful? Give feedback.
All reactions