Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upMigrations with dotnet tools #4309
Comments
This comment has been minimized.
This comment has been minimized.
We are still working that out |
This comment has been minimized.
This comment has been minimized.
It will be mostly the same. Instead of dnx, you'll type dotnet. To align with the NuGet commands better, we'll probably bring back {
"tools": {
"dotnet-ef": "7.0.0-*"
}
} |
This comment has been minimized.
This comment has been minimized.
Work is being tracked by #3925 |
This comment has been minimized.
This comment has been minimized.
That's great, so it will be dotnet ef migrations.... This way I don't need to change too much in my book. Also, thanks for the tracking link |
This comment has been minimized.
This comment has been minimized.
Closing this out now, but feel free to post additional questions (we still follow comments even after the issue is closed |
This comment has been minimized.
This comment has been minimized.
If using David Fowler's NDC sample https://github.com/davidfowl/dotnetcli-aspnetcore as my starting point, after adding EFCore & EFCore.commands to project.json (restore worked), I am trying to get dotnet ef into the tools section but it's not recognized yet. Is that correct ...not implemented yet or am I doing something wrong (again)? Thanks. |
This comment has been minimized.
This comment has been minimized.
Not yet... |
This comment has been minimized.
This comment has been minimized.
@julielerman still very much a work in progress, nothing working end-to-end yet |
This comment has been minimized.
This comment has been minimized.
understood! :) I don't envy you guys right now. |
This comment has been minimized.
This comment has been minimized.
I tried adding this to project.json:
Running dotnet ef results in this error: Using CLI tools version 1.0.0-beta-001492, OS Platform Windows 10.0.10586 |
How will the migrations command look like with the CLI / dotnet tools - without the commands section in project.json?