When you need to create the database from scratch either when dropping it or setting up the repository, you are unable to add data to the database because the roles needed for the different users are not being created and therefore the initializer cannot add users to the database.
To Reproduce
Steps to reproduce the behavior run these commands:
dotnet-ef database drop
dotnet-ef database update
dotnet run --sample-run
Expected behavior \
Able to add data to the database after creating it from scratch
Actual behavior and screenshots \
Unable to add data to the database after creating it from scratch
Sub Tasks
Create your own subtask issues on GitHub and link them here in a list.
Description
When you need to create the database from scratch either when dropping it or setting up the repository, you are unable to add data to the database because the roles needed for the different users are not being created and therefore the initializer cannot add users to the database.
To Reproduce Steps to reproduce the behavior run these commands:
dotnet-ef database drop
dotnet-ef database update
dotnet run --sample-run
Expected behavior \ Able to add data to the database after creating it from scratch
Actual behavior and screenshots \ Unable to add data to the database after creating it from scratch
Sub Tasks
Create your own subtask issues on GitHub and link them here in a list.