Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Instruction in the section "Generate the Entity Framework migration for our Identity schema" are not complete #128

Open
@holecekp

Description

@holecekp

I have run into problems when I was trying to add migration for Identity framework in the 4th part of this workshop (https://github.com/dotnet-presentations/aspnetcore-app-workshop/blob/master/docs/4.%20Add%20auth%20features.md).

When I run command Add-Migration CreateIdentitySchema, the created migration file is wrong. The metods Down() and Up() are empty in it. After spending some time by Googling, I have found out that the instructions in this workshop are missing an important detail - it is necessary to select "FrontEnd" in the Default project drop-down in the Package Manager Console. Without it, BackEnd project is selected and the migration file is empty. I recommend adding this at the end of the first step.

I also recommend adding step 3 that after generating the migration and updating the database, it is necessary to go to the solutions properties and select both FrontEnd and BackEnd as startup projects again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions