Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial Three: Cannot do first migration with EF Core migration tool #79

Open
jcjiang opened this issue May 6, 2022 · 0 comments
Open

Comments

@jcjiang
Copy link
Contributor

jcjiang commented May 6, 2022

Describe the bug
In Tutorial Three: Add a Database, I run into an error when I run dotnet ef migrations add InitialCreate.

To Reproduce
Steps to reproduce the behavior:

  1. dotnet add package Microsoft.EntityFrameworkCore.Sqlite --version 6.0.0-preview.6.21352.1
  2. dotnet tool install --global dotnet-ef
  3. dotnet add package Microsoft.EntityFrameworkCore.Design --version 6.0.0-preview.6.21352.1
  4. Set connection string
  5. Add context to services
  6. Run dotnet ef migrations add InitialCreate
  7. See logs

Expected behavior
I expect the migration to complete successfully
image

Screenshots
If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant