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)

Columns of the SecondFactorChallenges table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuidnot null, references AspNetUsers.Id
TicketHashvarchar(64)not null
LoginEventIduuidnot null, references LoginEvents.Id
IsNewUserbooleannot null
CreatedAttimestamptznot null
ExpiresAttimestamptznot null
CompletedAttimestamptz

Indexes (4)

  • (ExpiresAt) (IX_SecondFactorChallenges_ExpiresAt)
  • (LoginEventId) (IX_SecondFactorChallenges_LoginEventId)
  • (TicketHash) unique (IX_SecondFactorChallenges_TicketHash)
  • (UserId) (IX_SecondFactorChallenges_UserId)

Relationships