Roles table

The Roles table in the FitStack - V2 schema has 4 columns, keyed by Id. 3 columns in UserRoles, RoleClaims and RolePermissions reference it.

Seeded from the `UserType` enum by RoleSeeder.cs — one role per member.

Columns (4)

Columns of the Roles table
ColumnTypeConstraintsDescription
Idtextprimary key, not null
Namecharacter varying(256)
NormalizedNamecharacter varying(256)
ConcurrencyStamptext

Indexes (1)

  • (NormalizedName) unique (RoleNameIndex)

Relationships