I needed to add an extra field to Role identity table in ASP.NET MVC 5.
I use migrations.
I have added an extension to role like:
public cla
Well, a quick answer to understand, or, at least, make it more clear.
As Jasen told, you can read about Table per Hierarchy (TPH) at http://weblogs.asp.net/manavi/inheritance-mapping-strategies-with-entity-framework-code-first-ctp5-part-1-table-per-hierarchy-tph or any other links. But, to tell the truth, it's not so easy to understand from the first time.
Here is a quick answer:
As you'll see - the new record contains "ApplicationRole" in the Discrimination column. So to say - that column contains the name of the new class, that inherits IdentityRole. So, there probably can be more classes, which will be inheriting IdentityRole, but for each record the Identity system will store the value - using which class the record was created.
As shown, ApplicationRole Discriminator appeared only for the record, created by the class, called ApplicationRole that inherits IdentityRole.