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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | text | primary key, not null | |
| Name | character varying(256) | ||
| NormalizedName | character varying(256) | ||
| ConcurrencyStamp | text |
Indexes (1)
(NormalizedName)unique (RoleNameIndex)
Relationships
UserRoles.RoleIdreferencesRolesRoleClaims.RoleIdreferencesRolesRolePermissions.RoleIdreferencesRoles