SecondFactorChallenges table
The SecondFactorChallenges table in the Shipfolio schema has 8 columns, keyed by Id, with 2 foreign keys to AspNetUsers and LoginEvents.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| TicketHash | varchar(64) | not null | |
| LoginEventId | uuid | not null, references LoginEvents.Id | |
| IsNewUser | boolean | not null | |
| CreatedAt | timestamptz | not null | |
| ExpiresAt | timestamptz | not null | |
| CompletedAt | timestamptz |
Indexes (4)
(ExpiresAt)(IX_SecondFactorChallenges_ExpiresAt)(LoginEventId)(IX_SecondFactorChallenges_LoginEventId)(TicketHash)unique (IX_SecondFactorChallenges_TicketHash)(UserId)(IX_SecondFactorChallenges_UserId)
Relationships
SecondFactorChallenges.UserIdreferencesAspNetUsers.IdSecondFactorChallenges.LoginEventIdreferencesLoginEvents.Id