GSGBen / GSGBen/IdentityManagerUI-NetCore6-Template
IdentityManageUI is creating two tables in the DB that perform the same thing
- Dominant language
- C#
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
**### THANK YOU FOR CREATING THIS TEMPLATE!!! It has been a BIG HELP!!!**
I am hoping you can help me solve this issue. I am trying to determine where IdentityManagerUI is causing this issue. I believe the problem is in the ApplicationRoles.cs definition within the ApplicationRole identity with the public virtual. But, I can't be positive.
I am using the ApplicationDbContext.cs to change the names of the Tables in the Database. One of the tables, "ASPNETRoles" is supposed to be named "Roles".
When I run the Package Manager Commands (add-migration, update-database), the commands are creating both Tables.
Once I run my application, ASPNETRoles has the actual Role Data in it. The other table (Roles) only has "Id" column in it.
I am including screenshots of the tables, the migration file, ApplicationDbContext.cs, Program.cs, and ApplicationRole.cs.
------ Files are Listed below ------


[20220718032147_after IdentityManagerUI Fixes.cs.txt](https://github.com/GSGBen/IdentityManagerUI-NetCore6-Template/files/9129350/20220718032147_after.IdentityManagerUI.Fixes.cs.txt)
[ApplicationDbContext.cs.txt](https://github.com/GSGBen/IdentityManagerUI-NetCore6-Template/files/9129351/ApplicationDbContext.cs.txt)
[Program.cs.txt](https://github.com/GSGBen/IdentityManagerUI-NetCore6-Template/files/9129353/Program.cs.txt)
[ApplicationRole.cs.txt](https://github.com/GSGBen/IdentityManagerUI-NetCore6-Template/files/9129354/ApplicationRole.cs.txt)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.